Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.727/0.727, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001168, allocations: 175.4 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.000987, allocations: 81.33 kB / 0.4945 GB, free: 8.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001697/0.001697, allocations: 277.8 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004611, allocations: 16 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.424, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.174/5.598, allocations: 2.317 GB / 3.057 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/5.598, allocations: 95.94 kB / 3.057 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1137/5.712, allocations: 63.63 MB / 3.119 GB, free: 170 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/5.712, allocations: 0 / 3.119 GB, free: 170 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001345/5.712, allocations: 23.94 kB / 3.119 GB, free: 170 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002327/5.714, allocations: 1.39 MB / 3.12 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/5.714, allocations: 8.031 kB / 3.12 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/5.715, allocations: 139.2 kB / 3.12 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/5.717, allocations: 1.163 MB / 3.122 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/5.717, allocations: 83.19 kB / 3.122 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/5.717, allocations: 48.36 kB / 3.122 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/5.718, allocations: 0.4995 MB / 3.122 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/5.718, allocations: 3.938 kB / 3.122 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/5.718, allocations: 20 kB / 3.122 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/5.718, allocations: 12 kB / 3.122 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/5.719, allocations: 403.7 kB / 3.123 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/5.721, allocations: 2.532 MB / 3.125 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/5.722, allocations: 484.3 kB / 3.126 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/5.723, allocations: 296.4 kB / 3.126 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/5.723, allocations: 4.859 kB / 3.126 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/5.723, allocations: 286.9 kB / 3.126 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=42): time 2.585e-06/5.723, allocations: 0 / 3.126 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42): time 0.002282/5.726, allocations: 1.167 MB / 3.127 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/5.726, allocations: 59.41 kB / 3.127 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/5.728, allocations: 1.701 MB / 3.129 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/5.728, allocations: 37.7 kB / 3.129 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/5.728, allocations: 0.521 MB / 3.129 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/5.728, allocations: 146 kB / 3.13 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/5.728, allocations: 8 kB / 3.13 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/5.728, allocations: 333.9 kB / 3.13 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/5.729, allocations: 181 kB / 3.13 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/5.729, allocations: 317.7 kB / 3.13 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/5.73, allocations: 498.7 kB / 3.131 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/5.73, allocations: 4 kB / 3.131 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001175/5.731, allocations: 0.7633 MB / 3.132 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/5.731, allocations: 11.94 kB / 3.132 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/5.731, allocations: 4 kB / 3.132 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/5.731, allocations: 125 kB / 3.132 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/5.732, allocations: 95.88 kB / 3.132 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/5.734, allocations: 2.362 MB / 3.134 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/5.734, allocations: 75.5 kB / 3.134 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/5.734, allocations: 23.98 kB / 3.134 GB, free: 153.6 MB / 0.6823 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004529/5.735, allocations: 387.3 kB / 3.135 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/5.735, allocations: 126.4 kB / 3.135 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/5.736, allocations: 0.7093 MB / 3.135 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/5.736, allocations: 4 kB / 3.135 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/5.736, allocations: 0 / 3.135 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/5.736, allocations: 8 kB / 3.135 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/5.738, allocations: 1.621 MB / 3.137 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/5.738, allocations: 0 / 3.137 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/5.738, allocations: 51.91 kB / 3.137 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/5.739, allocations: 161.6 kB / 3.137 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/5.739, allocations: 8 kB / 3.137 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/5.741, allocations: 3.674 MB / 3.141 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/5.741, allocations: 0 / 3.141 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/5.743, allocations: 1.003 MB / 3.142 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/5.743, allocations: 303.5 kB / 3.142 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/5.743, allocations: 15.98 kB / 3.142 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/5.744, allocations: 47.88 kB / 3.142 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/5.744, allocations: 59.84 kB / 3.142 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/5.744, allocations: 15.98 kB / 3.142 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001414/5.745, allocations: 1.238 MB / 3.143 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.32e-07/5.745, allocations: 0 / 3.143 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009853/5.746, allocations: 311.7 kB / 3.144 GB, free: 143.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/5.748, allocations: 0.9629 MB / 3.145 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0012/5.749, allocations: 0.6306 MB / 3.145 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/5.749, allocations: 0 / 3.145 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007311/5.75, allocations: 0.5364 MB / 3.146 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/5.751, allocations: 195.7 kB / 3.146 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/5.755, allocations: 2.732 MB / 3.149 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/5.756, allocations: 1.146 MB / 3.15 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004483/5.756, allocations: 148.6 kB / 3.15 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/5.757, allocations: 63.42 kB / 3.15 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.91e-07/5.757, allocations: 8 kB / 3.15 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02884/5.785, allocations: 18.19 MB / 3.168 GB, free: 119 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)