Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7493/0.7493, allocations: 140.1 MB / 156 MB, free: 5.141 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.00106/0.00106, allocations: 174.4 kB / 188.5 MB, free: 15.8 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.373/1.373, allocations: 205.4 MB / 426.3 MB, free: 8.441 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.0007142/0.0007144, allocations: 86.36 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001687/0.001687, allocations: 273.6 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 16 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3651, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/5.035, allocations: 2.317 GB / 3.057 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/5.036, allocations: 96.84 kB / 3.057 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1213/5.157, allocations: 63.63 MB / 3.119 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/5.157, allocations: 0 / 3.119 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001306/5.157, allocations: 23.94 kB / 3.119 GB, free: 170.2 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.002687/5.16, allocations: 1.383 MB / 3.12 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/5.16, allocations: 15.97 kB / 3.12 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/5.16, allocations: 139.2 kB / 3.12 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/5.163, allocations: 1.159 MB / 3.122 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/5.163, allocations: 75.25 kB / 3.122 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/5.163, allocations: 52.36 kB / 3.122 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/5.164, allocations: 0.5034 MB / 3.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/5.164, allocations: 3.938 kB / 3.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/5.164, allocations: 16 kB / 3.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/5.164, allocations: 16 kB / 3.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/5.164, allocations: 407.7 kB / 3.123 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/5.167, allocations: 2.536 MB / 3.125 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/5.168, allocations: 485.6 kB / 3.126 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/5.169, allocations: 299.1 kB / 3.126 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/5.169, allocations: 4 kB / 3.126 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/5.169, allocations: 287.8 kB / 3.126 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=42): time 2.905e-06/5.169, allocations: 0 / 3.126 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42): time 0.002355/5.172, allocations: 1.159 MB / 3.127 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/5.172, allocations: 63.39 kB / 3.127 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/5.174, allocations: 1.701 MB / 3.129 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/5.174, allocations: 41.7 kB / 3.129 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/5.174, allocations: 0.521 MB / 3.13 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/5.174, allocations: 138 kB / 3.13 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/5.175, allocations: 12 kB / 3.13 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/5.175, allocations: 333.8 kB / 3.13 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/5.175, allocations: 185 kB / 3.13 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/5.175, allocations: 309.2 kB / 3.13 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/5.176, allocations: 0.4988 MB / 3.131 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/5.176, allocations: 0 / 3.131 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001214/5.177, allocations: 0.7633 MB / 3.132 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/5.177, allocations: 4 kB / 3.132 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/5.177, allocations: 4 kB / 3.132 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/5.178, allocations: 133 kB / 3.132 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/5.178, allocations: 91.83 kB / 3.132 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/5.18, allocations: 2.356 MB / 3.134 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/5.181, allocations: 87.48 kB / 3.134 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/5.181, allocations: 20 kB / 3.134 GB, free: 153.8 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.0004285/5.181, allocations: 387.2 kB / 3.135 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/5.181, allocations: 122.4 kB / 3.135 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/5.182, allocations: 0.7093 MB / 3.135 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/5.182, allocations: 7.938 kB / 3.135 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/5.182, allocations: 4 kB / 3.135 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/5.182, allocations: 0 / 3.135 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/5.184, allocations: 1.621 MB / 3.137 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/5.184, allocations: 0 / 3.137 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/5.185, allocations: 51.91 kB / 3.137 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/5.185, allocations: 157.6 kB / 3.137 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/5.185, allocations: 8 kB / 3.137 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/5.188, allocations: 3.685 MB / 3.141 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/5.188, allocations: 0 / 3.141 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/5.189, allocations: 1.003 MB / 3.142 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/5.189, allocations: 307.4 kB / 3.142 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/5.19, allocations: 16 kB / 3.142 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/5.19, allocations: 43.88 kB / 3.142 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/5.19, allocations: 55.91 kB / 3.142 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/5.19, allocations: 15.98 kB / 3.142 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001315/5.191, allocations: 1.242 MB / 3.143 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.191, allocations: 3.938 kB / 3.143 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009343/5.192, allocations: 303.8 kB / 3.144 GB, free: 143.6 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.001694/5.194, allocations: 0.9649 MB / 3.145 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001107/5.195, allocations: 0.6307 MB / 3.145 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/5.195, allocations: 4.125 kB / 3.145 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/5.196, allocations: 0.536 MB / 3.146 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/5.197, allocations: 191.5 kB / 3.146 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/5.2, allocations: 2.724 MB / 3.149 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/5.201, allocations: 1.154 MB / 3.15 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003498/5.201, allocations: 148.6 kB / 3.15 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/5.202, allocations: 67.42 kB / 3.15 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/5.202, allocations: 0 / 3.15 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.02721/5.229, allocations: 18.19 MB / 3.168 GB, free: 119.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)