I can see relatively simple commands (defend me, cast this spell, kill so-and-so, etc.) but what about "Pretend to be me while I am away." Would it know enough to follow your routine and such?
It knows the skills, proficiencies, spells memorised that morning and so forth of the creature it mimics. Heavily implying it has the same memory, drawn from the same experiences (the XP earnt to get to that level by the original) up to the point of its creation.
Its a bit weird if it remembers the spells the original memorised that day, and remembers the lessons learnt in improving its skills and learning feats etc over the originals life span, but doesn't remember how to get around its own home.
Also it has the same mental stats (meaning it can reason with its Intelligence and has insight and willpower thanks to its Wisdom).
Even if it doesnt have the memories of the original, if its a copy of the caster, it must have knowledge of the Simulacrum spell, including knowledge of its own restrictions and limitations imposed by that spell. If it knows the spell, it knows what the spell does (it's also almost certainly proficient in Arcana).
For example it would know that as a simulacrum, it cant recover spell slots when used, and is also aware it is friendly to the original 'real' caster, and also
why (the spell makes it loyal).
Presuming it had access to Wish, barring an express command from the original not to cast the spell, it would (due to it's likely genius Intelligence score of 20) promptly cast that Wish spell (risking burnout and possible monkey paw) worded along the lines of:
'I wish the restrictions of the Simulacrum spell were no longer applicable to me.'
AI is a killer of a thing to mess with.