Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7195/0.7195, 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.0009862/0.0009865, allocations: 184.1 kB / 188.5 MB, free: 15.82 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.42/1.42, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.0009123/0.0009122, allocations: 74.39 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00176/0.00176, allocations: 262.3 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.000503, allocations: 20 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.739/5.11, allocations: 2.318 GB / 3.057 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/5.11, allocations: 96.92 kB / 3.058 GB, free: 234 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1369/5.247, allocations: 72.17 MB / 3.128 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/5.247, allocations: 0 / 3.128 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002374/5.248, allocations: 43.92 kB / 3.128 GB, free: 161.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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003833/5.252, allocations: 2.133 MB / 3.13 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/5.252, allocations: 8.031 kB / 3.13 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/5.252, allocations: 234.1 kB / 3.13 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/5.255, allocations: 1.616 MB / 3.132 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/5.255, allocations: 87.56 kB / 3.132 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/5.255, allocations: 60.38 kB / 3.132 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/5.256, allocations: 0.7139 MB / 3.133 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/5.256, allocations: 3.938 kB / 3.133 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/5.256, allocations: 23.98 kB / 3.133 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/5.257, allocations: 16 kB / 3.133 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/5.258, allocations: 0.5751 MB / 3.133 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/5.262, allocations: 3.525 MB / 3.137 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/5.263, allocations: 0.774 MB / 3.138 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/5.264, allocations: 394.3 kB / 3.138 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/5.264, allocations: 12.56 kB / 3.138 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/5.264, allocations: 418.8 kB / 3.138 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=67): time 3.006e-06/5.264, allocations: 0 / 3.138 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67): time 0.004035/5.269, allocations: 1.878 MB / 3.14 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/5.269, allocations: 59.97 kB / 3.14 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004549/5.273, allocations: 3.218 MB / 3.143 GB, free: 145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/5.273, allocations: 41.7 kB / 3.143 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/5.274, allocations: 0.9015 MB / 3.144 GB, free: 144 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/5.274, allocations: 217.1 kB / 3.145 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/5.274, allocations: 16 kB / 3.145 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/5.274, allocations: 333.9 kB / 3.145 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/5.275, allocations: 269.8 kB / 3.145 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/5.275, allocations: 408.5 kB / 3.146 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/5.276, allocations: 0.6842 MB / 3.146 GB, free: 142 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/5.276, allocations: 0 / 3.146 GB, free: 142 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00191/5.278, allocations: 1.159 MB / 3.147 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/5.278, allocations: 11.98 kB / 3.147 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/5.278, allocations: 4 kB / 3.147 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/5.279, allocations: 281.7 kB / 3.148 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/5.279, allocations: 119.8 kB / 3.148 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/5.283, allocations: 4.653 MB / 3.152 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/5.284, allocations: 107.4 kB / 3.152 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/5.284, allocations: 31.94 kB / 3.152 GB, free: 135.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009771/5.285, allocations: 0.599 MB / 3.153 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/5.285, allocations: 213.4 kB / 3.153 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/5.287, allocations: 1.194 MB / 3.154 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/5.287, allocations: 8 kB / 3.154 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/5.287, allocations: 4 kB / 3.154 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/5.287, allocations: 3.984 kB / 3.154 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/5.292, allocations: 2.68 MB / 3.157 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/5.292, allocations: 0 / 3.157 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/5.292, allocations: 71.91 kB / 3.157 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/5.292, allocations: 277.5 kB / 3.157 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/5.293, allocations: 15.98 kB / 3.157 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/5.297, allocations: 4.648 MB / 3.162 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/5.297, allocations: 4 kB / 3.162 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/5.299, allocations: 1.593 MB / 3.163 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/5.3, allocations: 498.1 kB / 3.164 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/5.3, allocations: 24 kB / 3.164 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/5.301, allocations: 63.86 kB / 3.164 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/5.301, allocations: 80.47 kB / 3.164 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/5.301, allocations: 23.98 kB / 3.164 GB, free: 123 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003239/5.304, allocations: 2.356 MB / 3.166 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.304, allocations: 0 / 3.166 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00151/5.306, allocations: 457.4 kB / 3.167 GB, free: 120.2 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: 19 ($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,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,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 (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001725/5.308, allocations: 0.9777 MB / 3.168 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00187/5.31, allocations: 1.041 MB / 3.169 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/5.31, allocations: 0 / 3.169 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/5.311, allocations: 0.7111 MB / 3.17 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/5.313, allocations: 274.8 kB / 3.17 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/5.319, allocations: 4.734 MB / 3.174 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/5.32, allocations: 1.532 MB / 3.176 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000657/5.321, allocations: 265.8 kB / 3.176 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/5.321, allocations: 99.42 kB / 3.176 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/5.321, allocations: 0 / 3.176 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.03645/5.358, allocations: 24.49 MB / 3.2 GB, free: 86.13 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)