Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9023/0.9023, allocations: 143.4 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 181 kB / 191.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 92.38 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 271.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004731, allocations: 16.59 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 82.79 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.225/6.442, allocations: 2.152 GB / 2.926 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/6.442, allocations: 97.2 kB / 2.926 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3721/6.814, allocations: 191.3 MB / 3.113 GB, free: 26.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.349e-06/6.814, allocations: 3.938 kB / 3.113 GB, free: 26.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002329/6.815, allocations: 55.94 kB / 3.113 GB, free: 26.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.006377/6.821, allocations: 2.78 MB / 3.116 GB, free: 23.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/6.821, allocations: 8.031 kB / 3.116 GB, free: 23.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/6.822, allocations: 316.2 kB / 3.116 GB, free: 23.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007355/6.829, allocations: 2.474 MB / 3.118 GB, free: 20.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/6.83, allocations: 123.7 kB / 3.118 GB, free: 20.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/6.83, allocations: 96 kB / 3.119 GB, free: 20.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/6.832, allocations: 1.065 MB / 3.12 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/6.832, allocations: 0 / 3.12 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/6.832, allocations: 39.98 kB / 3.12 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/6.832, allocations: 27.98 kB / 3.12 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/6.834, allocations: 0.8432 MB / 3.12 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007372/6.841, allocations: 4.784 MB / 3.125 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/6.843, allocations: 0.9332 MB / 3.126 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/6.843, allocations: 0.5035 MB / 3.127 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008486/6.844, allocations: 0.5371 MB / 3.127 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=94): time 3.747e-06/6.844, allocations: 0 / 3.127 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94): time 0.004542/6.849, allocations: 2.138 MB / 3.129 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/6.849, allocations: 64.41 kB / 3.129 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/6.854, allocations: 3.498 MB / 3.133 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/6.855, allocations: 53.7 kB / 3.133 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/6.855, allocations: 1.158 MB / 3.134 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/6.856, allocations: 299.8 kB / 3.134 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/6.856, allocations: 20 kB / 3.134 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/6.856, allocations: 349.9 kB / 3.134 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/6.857, allocations: 394.4 kB / 3.135 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/6.857, allocations: 0.5754 MB / 3.135 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/6.858, allocations: 466.7 kB / 3.136 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/6.858, allocations: 8 kB / 3.136 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002895/6.861, allocations: 1.485 MB / 3.137 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/6.861, allocations: 7.938 kB / 3.137 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/6.861, allocations: 11.98 kB / 3.137 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/6.862, allocations: 224 kB / 3.138 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/6.863, allocations: 199.7 kB / 3.138 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5148/7.377, allocations: 4.284 MB / 3.142 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/7.38, allocations: 160.2 kB / 3.142 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/7.38, allocations: 42.39 kB / 3.142 GB, free: 163.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001809/7.382, allocations: 0.7233 MB / 3.143 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/7.383, allocations: 271.4 kB / 3.143 GB, free: 163.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/7.386, allocations: 1.491 MB / 3.145 GB, free: 163 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/7.386, allocations: 15.8 kB / 3.145 GB, free: 163 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/7.386, allocations: 3.75 kB / 3.145 GB, free: 163 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/7.388, allocations: 1.358 MB / 3.146 GB, free: 162.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008838/7.397, allocations: 3.627 MB / 3.149 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/7.397, allocations: 5.344 kB / 3.149 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/7.397, allocations: 120.9 kB / 3.15 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/7.398, allocations: 253.8 kB / 3.15 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/7.398, allocations: 31.05 kB / 3.15 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/7.403, allocations: 4.837 MB / 3.155 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.403, allocations: 1.25 kB / 3.155 GB, free: 158.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/7.408, allocations: 2.099 MB / 3.157 GB, free: 158.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/7.41, allocations: 0.5936 MB / 3.157 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/7.41, allocations: 35.14 kB / 3.157 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/7.411, allocations: 94.81 kB / 3.157 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/7.411, allocations: 96.31 kB / 3.157 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/7.411, allocations: 36.53 kB / 3.157 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005366/7.417, allocations: 2.784 MB / 3.16 GB, free: 158.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/7.417, allocations: 0 / 3.16 GB, free: 158.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003188/7.42, allocations: 0.6365 MB / 3.161 GB, free: 158.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($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,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002662/7.423, allocations: 1.198 MB / 3.162 GB, free: 158 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002949/7.426, allocations: 1.29 MB / 3.163 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.426, allocations: 1.469 kB / 3.163 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/7.427, allocations: 0.8331 MB / 3.164 GB, free: 157.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/7.43, allocations: 470.4 kB / 3.164 GB, free: 157.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/7.441, allocations: 6.183 MB / 3.17 GB, free: 155.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/7.443, allocations: 1.825 MB / 3.172 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001599/7.444, allocations: 348.8 kB / 3.173 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/7.445, allocations: 146.7 kB / 3.173 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/7.445, allocations: 0 / 3.173 GB, free: 154.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.06245/7.507, allocations: 33.37 MB / 3.205 GB, free: 153.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe 2>&1)