Abs and RealAbs have different derivatives. Abs is meant to work in the complex domain, where it is not differentiable. RealAbs is differentiable in the real domain. Compare:
D[Abs[x], x]
D[RealAbs[x], x]
% // PiecewiseExpand
I wish there was a RealIntegrate that behaved this way:
RealIntegrate[1/x, x]
Log[RealAbs[x]]