Macromodeling of I/O Buffers via Compressed Tensor Representations and Rational Approximations