Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001433/0.001433, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001768/0.001768, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.148 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.968/1.968, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.253e-05, allocations: 3.438 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.131/0.131, allocations: 138.6 MB / 0.8954 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.1522, allocations: 19.73 MB / 0.9146 GB, free: 7.926 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.1542, allocations: 71.44 kB / 0.9147 GB, free: 7.855 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.1554, allocations: 1.164 MB / 0.9158 GB, free: 6.688 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1567, allocations: 0.9218 MB / 0.9167 GB, free: 5.762 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.1575, allocations: 374.8 kB / 0.9171 GB, free: 5.395 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.1584, allocations: 1.305 MB / 0.9184 GB, free: 4.082 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.1589, allocations: 0.5608 MB / 0.9189 GB, free: 3.52 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.1597, allocations: 0.8419 MB / 0.9197 GB, free: 2.676 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009115/0.1606, allocations: 0.7505 MB / 0.9205 GB, free: 1.922 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.1607, allocations: 64 kB / 0.9205 GB, free: 1.859 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.1608, allocations: 112 kB / 0.9207 GB, free: 1.75 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.161, allocations: 332.7 kB / 0.921 GB, free: 1.426 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.1612, allocations: 287 kB / 0.9212 GB, free: 1.145 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.1619, allocations: 0.7977 MB / 0.922 GB, free: 352 kB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1619, allocations: 0 / 0.922 GB, free: 352 kB / 0.8699 GB Notification: Performance of FrontEnd: time 1.112e-06/0.162, allocations: 4 kB / 0.922 GB, free: 348 kB / 0.8699 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.162, allocations: 0 / 0.922 GB, free: 348 kB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001271/0.1632, allocations: 1.401 MB / 0.9234 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1633, allocations: 8.031 kB / 0.9234 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1634, allocations: 116.8 kB / 0.9235 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.164, allocations: 0.5648 MB / 0.9241 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/0.164, allocations: 100.3 kB / 0.9242 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.1641, allocations: 48 kB / 0.9242 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.1645, allocations: 362.4 kB / 0.9246 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1645, allocations: 0 / 0.9246 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1645, allocations: 16 kB / 0.9246 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1646, allocations: 19.98 kB / 0.9246 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1648, allocations: 121.7 kB / 0.9247 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.1662, allocations: 1.137 MB / 0.9258 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.1665, allocations: 258.3 kB / 0.9261 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1667, allocations: 156.4 kB / 0.9262 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1667, allocations: 8.328 kB / 0.9262 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.167, allocations: 179.3 kB / 0.9264 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 1.884e-06/0.167, allocations: 4 kB / 0.9264 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.0009464/0.1679, allocations: 0.5442 MB / 0.9269 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.168, allocations: 55.41 kB / 0.927 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.1689, allocations: 1.116 MB / 0.9281 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.169, allocations: 37.7 kB / 0.9281 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1691, allocations: 325 kB / 0.9284 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.1692, allocations: 150.8 kB / 0.9286 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.1693, allocations: 102.2 kB / 0.9287 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.1694, allocations: 329.9 kB / 0.929 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.1695, allocations: 56.11 kB / 0.929 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1696, allocations: 180.2 kB / 0.9292 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.1698, allocations: 292.4 kB / 0.9295 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1698, allocations: 0 / 0.9295 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004431/0.1703, allocations: 414.2 kB / 0.9299 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1703, allocations: 4 kB / 0.9299 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1703, allocations: 4 kB / 0.9299 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.1706, allocations: 106.2 kB / 0.93 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1708, allocations: 103.8 kB / 0.9301 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.1722, allocations: 1.946 MB / 0.932 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1723, allocations: 63.66 kB / 0.932 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1724, allocations: 19.94 kB / 0.9321 GB, free: 5.652 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1725, allocations: 158.4 kB / 0.9322 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.1726, allocations: 75.91 kB / 0.9323 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.173, allocations: 375.6 kB / 0.9326 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.173, allocations: 4 kB / 0.9326 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.173, allocations: 4 kB / 0.9326 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.173, allocations: 3.984 kB / 0.9326 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.1739, allocations: 0.7934 MB / 0.9334 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1739, allocations: 0 / 0.9334 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.174, allocations: 54.19 kB / 0.9335 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/0.1743, allocations: 179.6 kB / 0.9336 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1743, allocations: 15.98 kB / 0.9337 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.1763, allocations: 3.028 MB / 0.9366 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1763, allocations: 0 / 0.9366 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.1768, allocations: 0.5468 MB / 0.9371 GB, free: 176 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1769, allocations: 111.2 kB / 0.9373 GB, free: 64 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.1769, allocations: 11.98 kB / 0.9373 GB, free: 52 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1771, allocations: 19.98 kB / 0.9373 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-05/0.1772, allocations: 59.89 kB / 0.9373 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.1772, allocations: 11.92 kB / 0.9374 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003804/0.1776, allocations: 0.5535 MB / 0.9379 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1776, allocations: 0 / 0.9379 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004422/0.178, allocations: 203.7 kB / 0.9381 GB, free: 15.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.1794, allocations: 0.5803 MB / 0.9387 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.18, allocations: 439.2 kB / 0.9391 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.18, allocations: 16.81 kB / 0.9391 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.1803, allocations: 445.4 kB / 0.9395 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1808, allocations: 205.8 kB / 0.9397 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1829, allocations: 1.853 MB / 0.9415 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1833, allocations: 258 kB / 0.9418 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000163/0.1835, allocations: 76.72 kB / 0.9418 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.1837, allocations: 165.3 kB / 0.942 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.292e-06/0.1837, allocations: 0 / 0.942 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.01518/0.1989, allocations: 11.14 MB / 0.9529 GB, free: 476 kB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.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.866624388843775]