There was no one who coded it for milliseconds. Play with less speed or finish troops instant.
There will never be a script counting troop finishing in milliseconds.
That 0:00:05.5 means that someone just edited barracks in Templates/Build/19.tpl and set this but this only show 5.5 it doesn't mean it is exactly 5.5 seconds.