As madskillz said, it's labeled Suicide by Cop. Usually the person wanting to die only threatens Officers with a gun or some other deadly weapon. This pathetic "person" attempted to take others out to join him in misery. Fortunately he did not succeed.
The Officers were probably in the station and when this guy walks up they say "How are you today what can we do for you?". Then he opens fire.