At what voltage does your controller shut down to protect the battery ? , Have you been running your battery flat on a regular basis , resulting in knackering your battery .
A true test for your battery would be test it whilst you have the pump running to see if the voltage drops off , It happened with a car battery of mine years ago when battery was tested without engine running everything was ok but within 30 seconds of testing with engine running the voltage dropped off = knackered battery .