Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 209.3 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 0.49 GB / 0.7958 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.043e-05, allocations: 4.391 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1677/0.1677, allocations: 131 MB / 1.283 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1693, allocations: 1.055 MB / 1.284 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.1694, allocations: 0 / 1.284 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1697, allocations: 47.69 kB / 1.284 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007641/0.1704, allocations: 314.6 kB / 1.284 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1708, allocations: 163.3 kB / 1.285 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.1712, allocations: 247.3 kB / 1.285 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1713, allocations: 41.3 kB / 1.285 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.1714, allocations: 59.77 kB / 1.285 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1715, allocations: 91.61 kB / 1.285 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1716, allocations: 12 kB / 1.285 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.1719, allocations: 231.5 kB / 1.285 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.0002201/0.1721, allocations: 257.3 kB / 1.285 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0001195/0.1723, allocations: 165.8 kB / 1.286 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1723, allocations: 12 kB / 1.286 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.682e-05/0.1723, allocations: 11.88 kB / 1.286 GB, free: 11.29 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 (25) * Number of variables: 25 (25) Notification: Performance of [SIM] Bindings: time 0.0008929/0.1732, allocations: 0.7807 MB / 1.286 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001158/0.1733, allocations: 79.86 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of [SIM] Early Inline: time 0.0004254/0.1737, allocations: 376.1 kB / 1.287 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 1: time 0.0001496/0.1739, allocations: 106 kB / 1.287 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of [SIM] Alias: time 0.0009328/0.1748, allocations: 0.6384 MB / 1.288 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of [SIM] Simplify 2: time 0.0001084/0.1749, allocations: 86.36 kB / 1.288 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of [SIM] Remove Stream: time 5.393e-05/0.175, allocations: 44.42 kB / 1.288 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of [SIM] Detect States: time 0.0001223/0.1751, allocations: 112.7 kB / 1.288 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of [SIM] Events: time 6.932e-05/0.1752, allocations: 39.91 kB / 1.288 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of [SIM] Partitioning: time 0.0001171/0.1753, allocations: 80.08 kB / 1.288 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of [SIM] Causalize: time 0.0002352/0.1755, allocations: 156.2 kB / 1.288 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001374/0.1757, allocations: 144.2 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of [INI] Simplify: time 0.0004176/0.1761, allocations: 290.3 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of [INI] Inline: time 0.00032/0.1764, allocations: 323.6 kB / 1.289 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of [INI] Partitioning: time 3.18e-05/0.1764, allocations: 20.05 kB / 1.289 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of [INI] Cleanup: time 4.458e-05/0.1765, allocations: 47.89 kB / 1.289 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of [INI] Causalize: time 0.0004281/0.1769, allocations: 318.4 kB / 1.289 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of [INI] Tearing: time 1.286e-05/0.1769, allocations: 12 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.1769, allocations: 0 / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of [SIM] Remove Dummies: time 3.296e-06/0.1769, allocations: 0 / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of [SIM] Tearing: time 6.382e-06/0.1769, allocations: 8 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of [SIM] Categorize: time 7.745e-06/0.1769, allocations: 4 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of [SIM] Solve: time 0.0002104/0.1771, allocations: 131.9 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of [SIM] Jacobian: time 6.322e-06/0.1772, allocations: 4 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.204e-05/0.1772, allocations: 34.64 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00122/0.1784, allocations: 0.7482 MB / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.005064/0.1835, allocations: 1.94 MB / 1.292 GB, free: 4.246 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.215105034876615]