Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.0009959/0.0009959, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001041/0.001041, allocations: 181 kB / 23.36 MB, free: 1.133 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.9946/0.9946, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.58/2.58, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.654e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1253/0.1253, allocations: 138.8 MB / 0.9742 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.1435, allocations: 19.88 MB / 0.9936 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1447, allocations: 75.38 kB / 0.9937 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1459, allocations: 1.34 MB / 0.995 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1472, allocations: 1.058 MB / 0.996 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.1478, allocations: 410.8 kB / 0.9964 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.1487, allocations: 1.504 MB / 0.9979 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.1493, allocations: 0.659 MB / 0.9985 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.1506, allocations: 1.979 MB / 1 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.151, allocations: 449.4 kB / 1.001 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.1511, allocations: 72 kB / 1.001 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.1513, allocations: 127.9 kB / 1.001 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1515, allocations: 412.6 kB / 1.001 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1517, allocations: 343.5 kB / 1.002 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.1527, allocations: 0.9998 MB / 1.003 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1527, allocations: 0 / 1.003 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1527, allocations: 0 / 1.003 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.1527, allocations: 0 / 1.003 GB, free: 5.465 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001346/0.154, allocations: 1.658 MB / 1.004 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1541, allocations: 8.625 kB / 1.004 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1542, allocations: 140.8 kB / 1.005 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.1552, allocations: 0.9547 MB / 1.005 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.1553, allocations: 100.4 kB / 1.006 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.1553, allocations: 59.98 kB / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.1558, allocations: 402.3 kB / 1.006 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1558, allocations: 0 / 1.006 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.1558, allocations: 24 kB / 1.006 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1558, allocations: 12 kB / 1.006 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.156, allocations: 137.7 kB / 1.006 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1575, allocations: 1.251 MB / 1.007 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1579, allocations: 286.6 kB / 1.008 GB, free: 272 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1581, allocations: 133.5 kB / 1.008 GB, free: 136 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1581, allocations: 12.38 kB / 1.008 GB, free: 124 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.1583, allocations: 204.8 kB / 1.008 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=52): time 1.723e-06/0.1583, allocations: 4 kB / 1.008 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=52): time 0.001128/0.1595, allocations: 0.6346 MB / 1.009 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1595, allocations: 63.89 kB / 1.009 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.1602, allocations: 1.008 MB / 1.01 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.1603, allocations: 37.7 kB / 1.01 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1605, allocations: 358.9 kB / 1.01 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.1606, allocations: 182.5 kB / 1.01 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1607, allocations: 102.3 kB / 1.01 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.1608, allocations: 329.9 kB / 1.011 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1609, allocations: 64.11 kB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.161, allocations: 177.9 kB / 1.011 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1612, allocations: 283.1 kB / 1.011 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1612, allocations: 4 kB / 1.011 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004919/0.1617, allocations: 442.3 kB / 1.012 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1618, allocations: 8 kB / 1.012 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1618, allocations: 4 kB / 1.012 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.1621, allocations: 125.3 kB / 1.012 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1623, allocations: 103.9 kB / 1.012 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.1638, allocations: 2.1 MB / 1.014 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.164, allocations: 79.62 kB / 1.014 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.164, allocations: 16 kB / 1.014 GB, free: 9.582 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.1642, allocations: 155.1 kB / 1.014 GB, free: 9.422 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.1643, allocations: 91.84 kB / 1.014 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.1648, allocations: 445.2 kB / 1.015 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1648, allocations: 4 kB / 1.015 GB, free: 8.879 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1648, allocations: 4 kB / 1.015 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1648, allocations: 3.984 kB / 1.015 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.1658, allocations: 0.9222 MB / 1.016 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1658, allocations: 3.938 kB / 1.016 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1659, allocations: 71.42 kB / 1.016 GB, free: 7.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.1662, allocations: 207.2 kB / 1.016 GB, free: 7.629 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1663, allocations: 15.98 kB / 1.016 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.1683, allocations: 3.357 MB / 1.019 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1683, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.1689, allocations: 0.6143 MB / 1.02 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.169, allocations: 138.9 kB / 1.02 GB, free: 3.297 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.1691, allocations: 16 kB / 1.02 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1692, allocations: 23.97 kB / 1.02 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.1693, allocations: 60.39 kB / 1.02 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.1693, allocations: 15.98 kB / 1.02 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003768/0.1697, allocations: 0.5218 MB / 1.02 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1697, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004688/0.1702, allocations: 227.7 kB / 1.021 GB, free: 2.438 MB / 0.9792 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.00132/0.1715, allocations: 0.5966 MB / 1.021 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.1721, allocations: 480 kB / 1.022 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.1721, allocations: 12.69 kB / 1.022 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.1724, allocations: 477.3 kB / 1.022 GB, free: 1.117 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.173, allocations: 269.2 kB / 1.022 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1755, allocations: 2.17 MB / 1.025 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1757, allocations: 314.6 kB / 1.025 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.176, allocations: 201.2 kB / 1.025 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.1764, allocations: 293.2 kB / 1.025 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/0.1764, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.01821/0.1946, allocations: 13.82 MB / 1.039 GB, free: 272 kB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.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.434130304027349]