With the track powered up and the tender on the track, briefly hook a 9 volt battery across the center and outside rail. The relay should pick up and the whistle should sound. If this works, then you probably have a bad whistle rectifier in your transformer.
Larry