Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7531/0.7531, allocations: 140.1 MB / 156 MB, free: 5.188 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.0009821/0.000982, allocations: 182.9 kB / 188.5 MB, free: 15.86 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.375/1.375, allocations: 205.4 MB / 426.3 MB, free: 8.488 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.000705/0.000705, allocations: 90.41 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00159/0.00159, allocations: 269.2 kB / 0.5729 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 23.98 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 79.28 MB / 0.7395 GB, free: 46.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.097/4.443, allocations: 2.32 GB / 3.06 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/4.444, allocations: 100.9 kB / 3.06 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1611/4.605, allocations: 82.67 MB / 3.141 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/4.605, allocations: 0 / 3.141 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003322/4.605, allocations: 55.92 kB / 3.141 GB, free: 148.8 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005522/4.611, allocations: 3.021 MB / 3.144 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/4.611, allocations: 8.031 kB / 3.144 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/4.612, allocations: 352.6 kB / 3.144 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/4.616, allocations: 2.361 MB / 3.146 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/4.616, allocations: 120.1 kB / 3.146 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/4.617, allocations: 92.36 kB / 3.146 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/4.618, allocations: 0.9972 MB / 3.147 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/4.619, allocations: 7.875 kB / 3.147 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/4.619, allocations: 32 kB / 3.147 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/4.619, allocations: 20 kB / 3.147 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/4.62, allocations: 0.851 MB / 3.148 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/4.626, allocations: 4.676 MB / 3.153 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/4.628, allocations: 1.141 MB / 3.154 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/4.629, allocations: 0.5661 MB / 3.154 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/4.629, allocations: 12.98 kB / 3.154 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/4.629, allocations: 0.5984 MB / 3.155 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=102): time 3.036e-06/4.629, allocations: 4 kB / 3.155 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.005861/4.635, allocations: 2.663 MB / 3.158 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/4.635, allocations: 68.41 kB / 3.158 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/4.642, allocations: 4.963 MB / 3.163 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/4.643, allocations: 53.69 kB / 3.163 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/4.644, allocations: 1.345 MB / 3.164 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/4.644, allocations: 335.4 kB / 3.164 GB, free: 124 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/4.644, allocations: 20 kB / 3.164 GB, free: 124 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/4.644, allocations: 345.9 kB / 3.165 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/4.645, allocations: 406.4 kB / 3.165 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/4.645, allocations: 0.5716 MB / 3.166 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/4.647, allocations: 0.9948 MB / 3.167 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/4.647, allocations: 0 / 3.167 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002785/4.65, allocations: 1.672 MB / 3.168 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/4.65, allocations: 11.98 kB / 3.168 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/4.65, allocations: 8 kB / 3.168 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008009/4.65, allocations: 342.2 kB / 3.169 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/4.651, allocations: 175.7 kB / 3.169 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/4.655, allocations: 5.011 MB / 3.174 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/4.656, allocations: 143.1 kB / 3.174 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/4.657, allocations: 36 kB / 3.174 GB, free: 113.9 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: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 99 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001352/4.658, allocations: 0.8617 MB / 3.175 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/4.658, allocations: 324 kB / 3.175 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/4.661, allocations: 1.769 MB / 3.177 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/4.661, allocations: 15.98 kB / 3.177 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/4.661, allocations: 4 kB / 3.177 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/4.661, allocations: 3.984 kB / 3.177 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/4.666, allocations: 3.955 MB / 3.181 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/4.666, allocations: 11.94 kB / 3.181 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/4.667, allocations: 127.7 kB / 3.181 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/4.667, allocations: 341.7 kB / 3.181 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/4.667, allocations: 27.98 kB / 3.181 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/4.672, allocations: 4.991 MB / 3.186 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/4.672, allocations: 0 / 3.186 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/4.675, allocations: 2.371 MB / 3.188 GB, free: 98.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/4.676, allocations: 0.7154 MB / 3.189 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/4.677, allocations: 32 kB / 3.189 GB, free: 97.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/4.677, allocations: 83.94 kB / 3.189 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/4.677, allocations: 112.8 kB / 3.189 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/4.678, allocations: 31.98 kB / 3.189 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004068/4.682, allocations: 3.636 MB / 3.193 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/4.682, allocations: 0 / 3.193 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001855/4.684, allocations: 0.6321 MB / 3.193 GB, free: 93.52 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: 26 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/4.685, allocations: 0.9978 MB / 3.194 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002197/4.687, allocations: 1.407 MB / 3.196 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.687, allocations: 0 / 3.196 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/4.688, allocations: 0.9201 MB / 3.197 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/4.691, allocations: 363 kB / 3.197 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/4.699, allocations: 7.011 MB / 3.204 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/4.7, allocations: 1.965 MB / 3.206 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00096/4.701, allocations: 400.1 kB / 3.206 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/4.702, allocations: 155.3 kB / 3.206 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/4.702, allocations: 0 / 3.206 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.0446/4.746, allocations: 31.8 MB / 3.237 GB, free: 48.61 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)