TINA simulation of TPS3701 Voltage Comparator output wrong
When I run a transient analysis, the results are completely wrong,
  OUTA doesn't rise at 21.6V and OUTB falls at about 2V instead of 26.4V


OUTA and OUTB are open drain transistor outputs and rely on a pull-up resistor to some supply voltage to determine the maximum voltage outputted. Given that you chose a 3.3 volt pull-up voltage it's not surprising that you see voltages no greater than 3.3 volts. However, if it is a threshold problem then, as has been said in comments, 2m means 2 milli ohms. If in doubt write it as 2000k.