Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001391/0.001391, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001613/0.001613, allocations: 177 kB / 23.36 MB, free: 1.129 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.9439/0.9439, allocations: 177.2 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.336/2.336, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.454e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1321/0.1321, allocations: 138.5 MB / 0.9738 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.1521, allocations: 19.75 MB / 0.9931 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.1541, allocations: 63.5 kB / 0.9932 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.1554, allocations: 1.164 MB / 0.9943 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.1568, allocations: 0.9451 MB / 0.9952 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.1578, allocations: 362.9 kB / 0.9956 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1591, allocations: 1.309 MB / 0.9969 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00073/0.1599, allocations: 0.5725 MB / 0.9974 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.1613, allocations: 1.635 MB / 0.999 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.1618, allocations: 405.9 kB / 0.9994 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.1619, allocations: 64 kB / 0.9995 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.1621, allocations: 108 kB / 0.9996 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.1624, allocations: 340.8 kB / 0.9999 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1626, allocations: 303.7 kB / 1 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.1635, allocations: 0.8637 MB / 1.001 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1635, allocations: 3.938 kB / 1.001 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1635, allocations: 4 kB / 1.001 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.1635, allocations: 0 / 1.001 GB, free: 7.215 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00147/0.165, allocations: 1.435 MB / 1.002 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.165, allocations: 8.625 kB / 1.002 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1651, allocations: 124.8 kB / 1.003 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.1661, allocations: 0.8031 MB / 1.003 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.1662, allocations: 100.4 kB / 1.003 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.1662, allocations: 51.98 kB / 1.004 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.1666, allocations: 370.3 kB / 1.004 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1667, allocations: 3.953 kB / 1.004 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1667, allocations: 16 kB / 1.004 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1667, allocations: 12 kB / 1.004 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1669, allocations: 125.7 kB / 1.004 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1684, allocations: 1.206 MB / 1.005 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1688, allocations: 254.8 kB / 1.005 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1689, allocations: 117.4 kB / 1.006 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.169, allocations: 8.328 kB / 1.006 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1692, allocations: 177.6 kB / 1.006 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.1692, allocations: 0 / 1.006 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001057/0.1702, allocations: 0.5869 MB / 1.006 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1703, allocations: 59.34 kB / 1.006 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.1708, allocations: 0.8464 MB / 1.007 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1709, allocations: 37.7 kB / 1.007 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.171, allocations: 329 kB / 1.008 GB, free: 348 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.1711, allocations: 146.8 kB / 1.008 GB, free: 200 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.1712, allocations: 94.3 kB / 1.008 GB, free: 100 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1713, allocations: 329.9 kB / 1.008 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.1714, allocations: 56.12 kB / 1.008 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1715, allocations: 165.3 kB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1717, allocations: 268.5 kB / 1.009 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1717, allocations: 0 / 1.009 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004712/0.1722, allocations: 409.5 kB / 1.009 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1722, allocations: 12.03 kB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1722, allocations: 4 kB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.1725, allocations: 117.7 kB / 1.009 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1727, allocations: 99.81 kB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1741, allocations: 2.057 MB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1743, allocations: 63.67 kB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1743, allocations: 19.94 kB / 1.011 GB, free: 12.34 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: 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.000176/0.1745, allocations: 154.5 kB / 1.011 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.1746, allocations: 75.91 kB / 1.011 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.1751, allocations: 394.8 kB / 1.012 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1751, allocations: 4 kB / 1.012 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1751, allocations: 4 kB / 1.012 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1751, allocations: 3.938 kB / 1.012 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.1761, allocations: 0.8224 MB / 1.013 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1761, allocations: 0 / 1.013 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1762, allocations: 39.97 kB / 1.013 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.1765, allocations: 195.5 kB / 1.013 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1766, allocations: 8 kB / 1.013 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.1785, allocations: 3.326 MB / 1.016 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1785, allocations: 0 / 1.016 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.1791, allocations: 0.5538 MB / 1.017 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1792, allocations: 123 kB / 1.017 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.1793, allocations: 16.03 kB / 1.017 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1794, allocations: 23.97 kB / 1.017 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.1795, allocations: 56.39 kB / 1.017 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1795, allocations: 12 kB / 1.017 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000332/0.1799, allocations: 434.4 kB / 1.017 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 1.017 GB, free: 5.859 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005173/0.1804, allocations: 207.7 kB / 1.018 GB, free: 5.656 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: 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.001325/0.1817, allocations: 0.5957 MB / 1.018 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006015/0.1823, allocations: 442.3 kB / 1.019 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/0.1823, allocations: 16 kB / 1.019 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.1827, allocations: 458.1 kB / 1.019 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1833, allocations: 237.8 kB / 1.019 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.1857, allocations: 1.851 MB / 1.021 GB, free: 2.266 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.1859, allocations: 263.6 kB / 1.021 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00035/0.1862, allocations: 171.8 kB / 1.021 GB, free: 1.816 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.1866, allocations: 245.3 kB / 1.022 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/0.1866, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of Templates: time 0.01724/0.2038, allocations: 12.3 MB / 1.034 GB, free: 5.508 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.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.263940691016614]