Where are you running the three argument script? system.alarm.acknowledge() with three arguments is scoped for the Gateway; with two arguments is scoped for the Client.
Where are you running the three argument script? system.alarm.acknowledge() with three arguments is scoped for the Gateway; with two arguments is scoped for the Client.