Errr… I assume by "to air tank" it means the pump is for brake air OR vacuum. Your quote suggests air-brakes but let's keep our options open and identify the system.
Similar pumps are sometimes used for boiler feed, too, and I'll come to that possibility.
First then, assuming it's pumping air; what else is plumbed to the air / vacuum reservoir? Does that tank have an air or vacuum gauge – which would tell us immediately – or brake control-valve and train connection?.
In either case, I would expect one air cylinder port on the pump to be open to the air, perhaps with a simple filter if it's an inlet, but anyway probably without a pipe.
The piped connections then are the inlet for the steam driving it; and respectively, the air outlet or inlet to or from the air or vacuum reservoir.
Plus the steam exhaust, possibly piped to the smokebox or just discharged to the ground.
So when you connected the "air tank" pipe to your compressor the poor thing didn't know if was coming or going.
Try linking the "to air tank" to said tank, and the compressed-air to the steam inlet, turn on just enough air for it to run, and observe what happens at that tank. If you've no suitable gauge for the tank, either fitted or available, rig a polythene tube to a jar of water safely below bench-level, and turn on the air very gently. if it blows bubbles it's an air-pump, or compressor. If it draws water up into the hose, it's a vacuum pump – but be careful not to let the water reach the pump (hence the "safely below" precaution).
'
Your quote from the drawing suggests a brake pump, but what is its actual purpose on your loco? Is the pump drawing for the entire system, or just as supplied with the pump alone?
If it was connected as a boiler feed-pump it will again have 4 ports, of which 3 will certainly be piped: steam in, water in from tank or tender, water out to boiler check-valve. The 4th is the exhaust, again, either piped to the smokebox or simply discharged below the running-plate – but not so it steam-cleans and rustifys the motion.
And again it will also work only if you connect the air-test supply to the steam inlet!