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.7621/0.7621, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 185.2 kB / 187.3 MB, free: 11.89 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.472/1.472, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.001074/0.001074, allocations: 103.5 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 269.3 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.725e-05, allocations: 0 / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5754, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/6.057, allocations: 2.152 GB / 2.916 GB, free: 171.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/6.058, allocations: 96.42 kB / 2.916 GB, free: 171.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7706/6.828, allocations: 190.8 MB / 3.103 GB, free: 176.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/6.828, allocations: 0 / 3.103 GB, free: 176.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002169/6.829, allocations: 59.47 kB / 3.103 GB, free: 176.1 MB / 0.698 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.00391/6.833, allocations: 2.297 MB / 3.105 GB, free: 175.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/6.833, allocations: 7.031 kB / 3.105 GB, free: 175.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/6.833, allocations: 306.2 kB / 3.105 GB, free: 175 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/6.838, allocations: 2.456 MB / 3.108 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/6.839, allocations: 120.2 kB / 3.108 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/6.839, allocations: 106.8 kB / 3.108 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/6.84, allocations: 1.008 MB / 3.109 GB, free: 174.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/6.84, allocations: 3.938 kB / 3.109 GB, free: 174.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/6.841, allocations: 42.02 kB / 3.109 GB, free: 174.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/6.841, allocations: 26.59 kB / 3.109 GB, free: 174.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/6.842, allocations: 0.7575 MB / 3.11 GB, free: 174.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00646/6.848, allocations: 4.782 MB / 3.114 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/6.85, allocations: 0.8374 MB / 3.115 GB, free: 172.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/6.85, allocations: 470.5 kB / 3.116 GB, free: 172.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/6.851, allocations: 0.5062 MB / 3.116 GB, free: 172.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/6.851, allocations: 0.4962 MB / 3.117 GB, free: 172.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 2.485e-06/6.851, allocations: 0 / 3.117 GB, free: 172.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.00217/6.853, allocations: 1.216 MB / 3.118 GB, free: 172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/6.854, allocations: 69.47 kB / 3.118 GB, free: 171.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005496/6.859, allocations: 3.46 MB / 3.121 GB, free: 171.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/6.859, allocations: 50.81 kB / 3.121 GB, free: 171.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/6.86, allocations: 1.162 MB / 3.123 GB, free: 171.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/6.861, allocations: 308.4 kB / 3.123 GB, free: 171.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/6.861, allocations: 19.69 kB / 3.123 GB, free: 171.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/6.861, allocations: 348.4 kB / 3.123 GB, free: 170.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/6.861, allocations: 325.1 kB / 3.123 GB, free: 170.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/6.862, allocations: 0.5052 MB / 3.124 GB, free: 170.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/6.863, allocations: 396.2 kB / 3.124 GB, free: 170.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/6.863, allocations: 3.938 kB / 3.124 GB, free: 170.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00257/6.865, allocations: 1.352 MB / 3.126 GB, free: 170.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/6.865, allocations: 6.625 kB / 3.126 GB, free: 170.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/6.865, allocations: 4.594 kB / 3.126 GB, free: 170.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/6.866, allocations: 233.9 kB / 3.126 GB, free: 170.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/6.867, allocations: 206.4 kB / 3.126 GB, free: 170.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/6.871, allocations: 4.216 MB / 3.13 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/6.872, allocations: 160.4 kB / 3.13 GB, free: 167.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/6.872, allocations: 46.48 kB / 3.13 GB, free: 167.7 MB / 0.698 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 () * 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.0002973/6.873, allocations: 178 kB / 3.131 GB, free: 167.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/6.873, allocations: 270.6 kB / 3.131 GB, free: 167.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/6.876, allocations: 1.421 MB / 3.132 GB, free: 167.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/6.876, allocations: 11 kB / 3.132 GB, free: 167.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/6.876, allocations: 10.17 kB / 3.132 GB, free: 167.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/6.878, allocations: 1.278 MB / 3.134 GB, free: 167 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/6.884, allocations: 3.536 MB / 3.137 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/6.884, allocations: 2.906 kB / 3.137 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/6.884, allocations: 121.8 kB / 3.137 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/6.885, allocations: 256.2 kB / 3.137 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/6.885, allocations: 26.02 kB / 3.137 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/6.889, allocations: 4.791 MB / 3.142 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/6.889, allocations: 0 / 3.142 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/6.892, allocations: 1.97 MB / 3.144 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/6.894, allocations: 0.6016 MB / 3.145 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/6.894, allocations: 33.03 kB / 3.145 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/6.895, allocations: 85.94 kB / 3.145 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/6.895, allocations: 94.08 kB / 3.145 GB, free: 162.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/6.895, allocations: 38.16 kB / 3.145 GB, free: 162.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003638/6.899, allocations: 2.743 MB / 3.147 GB, free: 162.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/6.899, allocations: 0 / 3.147 GB, free: 162.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002839/6.902, allocations: 0.6429 MB / 3.148 GB, free: 162.4 MB / 0.698 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) * 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.002207/6.904, allocations: 1.163 MB / 3.149 GB, free: 162.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001973/6.906, allocations: 1.178 MB / 3.15 GB, free: 161.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/6.906, allocations: 2.781 kB / 3.15 GB, free: 161.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/6.907, allocations: 0.7821 MB / 3.151 GB, free: 161.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/6.909, allocations: 462.8 kB / 3.152 GB, free: 161.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009961/6.919, allocations: 4.565 MB / 3.156 GB, free: 160.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/6.922, allocations: 1.815 MB / 3.158 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001354/6.923, allocations: 355.4 kB / 3.158 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/6.924, allocations: 142.2 kB / 3.158 GB, free: 159.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/6.924, allocations: 1.031 kB / 3.158 GB, free: 159.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0605/6.984, allocations: 35.35 MB / 3.193 GB, free: 154.2 MB / 0.698 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)