Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001298/0.001298, allocations: 80.92 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.001151/0.001151, allocations: 161 kB / 24.17 MB, free: 332 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.009/2.009, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.427e-05, allocations: 3.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1305/0.1305, allocations: 138.6 MB / 0.8954 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.1496, allocations: 19.73 MB / 0.9146 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.1511, allocations: 71.44 kB / 0.9147 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.1523, allocations: 1.153 MB / 0.9158 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1535, allocations: 0.9335 MB / 0.9168 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.1543, allocations: 370.9 kB / 0.9171 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.1555, allocations: 1.305 MB / 0.9184 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.1562, allocations: 0.5647 MB / 0.9189 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009255/0.1571, allocations: 0.838 MB / 0.9197 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000758/0.1579, allocations: 0.7466 MB / 0.9205 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.158, allocations: 64 kB / 0.9205 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1582, allocations: 111.9 kB / 0.9206 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1584, allocations: 336.6 kB / 0.921 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.1586, allocations: 287 kB / 0.9212 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007792/0.1594, allocations: 0.7939 MB / 0.922 GB, free: 344 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1594, allocations: 4 kB / 0.922 GB, free: 340 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1594, allocations: 0 / 0.922 GB, free: 340 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.1594, allocations: 0 / 0.922 GB, free: 340 kB / 0.8698 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.001356/0.1608, allocations: 1.405 MB / 0.9234 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1608, allocations: 8.031 kB / 0.9234 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1609, allocations: 116.8 kB / 0.9235 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.1615, allocations: 0.5609 MB / 0.9241 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.1616, allocations: 100.4 kB / 0.9242 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1616, allocations: 48 kB / 0.9242 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.1621, allocations: 362.4 kB / 0.9245 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1621, allocations: 7.938 kB / 0.9246 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.1621, allocations: 16 kB / 0.9246 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1621, allocations: 8 kB / 0.9246 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1623, allocations: 125.8 kB / 0.9247 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1638, allocations: 1.214 MB / 0.9259 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1642, allocations: 242.7 kB / 0.9261 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1643, allocations: 128.1 kB / 0.9262 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1644, allocations: 8.328 kB / 0.9262 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1646, allocations: 189.3 kB / 0.9264 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.1646, allocations: 0 / 0.9264 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001051/0.1656, allocations: 0.568 MB / 0.927 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1657, allocations: 67.27 kB / 0.927 GB, free: 11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.1664, allocations: 1.096 MB / 0.9281 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1664, allocations: 37.7 kB / 0.9281 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1666, allocations: 325 kB / 0.9285 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.1667, allocations: 146.7 kB / 0.9286 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1668, allocations: 98.25 kB / 0.9287 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.1669, allocations: 333.9 kB / 0.929 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.1669, allocations: 56.11 kB / 0.9291 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1671, allocations: 157.9 kB / 0.9292 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1673, allocations: 263.1 kB / 0.9295 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1673, allocations: 4 kB / 0.9295 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004825/0.1678, allocations: 415 kB / 0.9299 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1678, allocations: 4 kB / 0.9299 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1678, allocations: 4 kB / 0.9299 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.1681, allocations: 126.8 kB / 0.93 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1683, allocations: 95.83 kB / 0.9301 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.1699, allocations: 2.068 MB / 0.9321 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1701, allocations: 63.64 kB / 0.9322 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1702, allocations: 19.94 kB / 0.9322 GB, free: 5.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.1703, allocations: 150.5 kB / 0.9323 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1704, allocations: 75.91 kB / 0.9324 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.1709, allocations: 394.8 kB / 0.9328 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1709, allocations: 4 kB / 0.9328 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1709, allocations: 4 kB / 0.9328 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1709, allocations: 7.922 kB / 0.9328 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/0.1718, allocations: 0.8067 MB / 0.9336 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1718, allocations: 0 / 0.9336 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1719, allocations: 55.95 kB / 0.9336 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.1722, allocations: 184.2 kB / 0.9338 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.1723, allocations: 19.92 kB / 0.9338 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.1744, allocations: 3.337 MB / 0.9371 GB, free: 272 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1744, allocations: 0 / 0.9371 GB, free: 272 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.1749, allocations: 0.5616 MB / 0.9376 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1751, allocations: 119 kB / 0.9377 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.1751, allocations: 15.98 kB / 0.9378 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1753, allocations: 19.98 kB / 0.9378 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.1754, allocations: 56.39 kB / 0.9378 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1754, allocations: 15.98 kB / 0.9379 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003959/0.1758, allocations: 0.5414 MB / 0.9384 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1758, allocations: 4 kB / 0.9384 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005289/0.1763, allocations: 211.7 kB / 0.9386 GB, free: 14.7 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,13,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.001359/0.1777, allocations: 0.5806 MB / 0.9392 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006081/0.1783, allocations: 438.7 kB / 0.9396 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/0.1783, allocations: 12 kB / 0.9396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.1787, allocations: 457.6 kB / 0.94 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.1793, allocations: 199.7 kB / 0.9402 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1818, allocations: 1.859 MB / 0.942 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.182, allocations: 269.8 kB / 0.9423 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.1822, allocations: 72.66 kB / 0.9424 GB, free: 11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.1824, allocations: 173.2 kB / 0.9425 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/0.1824, allocations: 0 / 0.9425 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of Templates: time 0.01597/0.1984, allocations: 11.4 MB / 0.9536 GB, free: 15.68 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.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: 6.074780439026654]