Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.000984/0.000984, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001127/0.001127, allocations: 170 kB / 24.86 MB, free: 8.836 MB / 18.57 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 0.902/0.902, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.656e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1704/0.1704, allocations: 142.9 MB / 0.9523 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.1709, allocations: 279.1 kB / 0.9526 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.171, allocations: 11.88 kB / 0.9526 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1713, allocations: 99.27 kB / 0.9527 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1715, allocations: 99.19 kB / 0.9528 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.1716, allocations: 63.91 kB / 0.9529 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.1719, allocations: 330.5 kB / 0.9532 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.1722, allocations: 129.4 kB / 0.9533 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.1725, allocations: 187.6 kB / 0.9535 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1726, allocations: 99.62 kB / 0.9536 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1726, allocations: 20 kB / 0.9536 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.1726, allocations: 24 kB / 0.9536 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.1727, allocations: 75.75 kB / 0.9537 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.1728, allocations: 87.75 kB / 0.9538 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.173, allocations: 187.2 kB / 0.9539 GB, free: 440 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.173, allocations: 0 / 0.9539 GB, free: 440 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.173, allocations: 0 / 0.9539 GB, free: 440 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.173, allocations: 0 / 0.9539 GB, free: 440 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004434/0.1734, allocations: 0.5508 MB / 0.9545 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1734, allocations: 8.031 kB / 0.9545 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.1735, allocations: 56.75 kB / 0.9545 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1738, allocations: 222.6 kB / 0.9548 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1738, allocations: 17.03 kB / 0.9548 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1738, allocations: 28.38 kB / 0.9548 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1741, allocations: 293.8 kB / 0.9551 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1741, allocations: 7.938 kB / 0.9551 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1741, allocations: 12 kB / 0.9551 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1741, allocations: 8 kB / 0.9551 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.1742, allocations: 75.7 kB / 0.9552 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.1751, allocations: 2.278 MB / 0.9574 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.1752, allocations: 265.4 kB / 0.9577 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.1753, allocations: 126.9 kB / 0.9578 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.1753, allocations: 127.2 kB / 0.9579 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.1754, allocations: 152.6 kB / 0.958 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.1754, allocations: 0 / 0.958 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.649e-05/0.1754, allocations: 33.66 kB / 0.9581 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.1755, allocations: 170.6 kB / 0.9582 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1756, allocations: 224.5 kB / 0.9584 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.1756, allocations: 29.7 kB / 0.9585 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1757, allocations: 238.7 kB / 0.9587 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.1757, allocations: 7.938 kB / 0.9587 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1758, allocations: 27.36 kB / 0.9587 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004408/0.1762, allocations: 496.1 kB / 0.9592 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.1762, allocations: 7.984 kB / 0.9592 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.1762, allocations: 46.42 kB / 0.9593 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.1763, allocations: 62.31 kB / 0.9593 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1763, allocations: 0 / 0.9593 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.1764, allocations: 73.47 kB / 0.9594 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1764, allocations: 4 kB / 0.9594 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1764, allocations: 4 kB / 0.9594 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1764, allocations: 0 / 0.9594 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.1765, allocations: 11.98 kB / 0.9594 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.1765, allocations: 112 / 0.9594 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.1765, allocations: 12.09 kB / 0.9594 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1765, allocations: 0 / 0.9594 GB, free: 10.46 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1766, allocations: 283.6 kB / 0.9597 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.1767, allocations: 152.8 kB / 0.9598 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.1767, allocations: 161.4 kB / 0.96 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/0.1768, allocations: 272 kB / 0.9603 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/0.1769, allocations: 264.1 kB / 0.9605 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/0.1769, allocations: 268.1 kB / 0.9608 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.1771, allocations: 0.5277 MB / 0.9613 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.902e-05/0.1772, allocations: 148.9 kB / 0.9614 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1772, allocations: 156.8 kB / 0.9616 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.044e-05/0.1773, allocations: 268.1 kB / 0.9618 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.1773, allocations: 268.2 kB / 0.9621 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.172e-05/0.1774, allocations: 272.1 kB / 0.9623 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.347e-05/0.1774, allocations: 272.1 kB / 0.9626 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1776, allocations: 447.9 kB / 0.963 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1776, allocations: 168.7 kB / 0.9632 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.1777, allocations: 268.1 kB / 0.9634 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.1777, allocations: 144.9 kB / 0.9636 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.1778, allocations: 276 kB / 0.9638 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.1778, allocations: 144.9 kB / 0.964 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.1779, allocations: 153 kB / 0.9641 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1779, allocations: 0 / 0.9641 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001731/0.1781, allocations: 47.78 kB / 0.9642 GB, free: 5.406 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001071/0.1782, allocations: 214.4 kB / 0.9644 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.1782, allocations: 27.61 kB / 0.9644 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1782, allocations: 0 / 0.9644 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.1782, allocations: 3.938 kB / 0.9644 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1785, allocations: 0.7104 MB / 0.9651 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.1791, allocations: 474.5 kB / 0.9656 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.1791, allocations: 87.3 kB / 0.9656 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.1792, allocations: 4.734 kB / 0.9656 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.1792, allocations: 70.2 kB / 0.9657 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.1792, allocations: 0 / 0.9657 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of Templates: time 0.002238/0.1814, allocations: 351.4 kB / 0.966 GB, free: 3.418 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274669792037457]