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 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.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.9634/0.9634, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001271/0.001271, allocations: 182.3 kB / 191.5 MB, free: 5.754 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.777/1.777, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001146/0.001146, allocations: 88.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 260.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 13.94 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.147/5.386, allocations: 2.149 GB / 2.923 GB, free: 219.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.386, allocations: 105.3 kB / 2.923 GB, free: 219.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1403/5.526, allocations: 73.66 MB / 2.995 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.374e-06/5.526, allocations: 0 / 2.995 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002405/5.526, allocations: 36 kB / 2.995 GB, free: 148.5 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004063/5.53, allocations: 2.183 MB / 2.997 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/5.531, allocations: 16.77 kB / 2.997 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/5.531, allocations: 229.2 kB / 2.997 GB, free: 146 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/5.535, allocations: 1.886 MB / 2.999 GB, free: 144 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/5.536, allocations: 94.95 kB / 2.999 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/5.536, allocations: 67.98 kB / 2.999 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/5.537, allocations: 0.7095 MB / 3 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/5.537, allocations: 0 / 3 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/5.537, allocations: 27.98 kB / 3 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/5.537, allocations: 16 kB / 3 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/5.538, allocations: 0.5751 MB / 3.001 GB, free: 142.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005462/5.544, allocations: 3.705 MB / 3.004 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/5.545, allocations: 0.7212 MB / 3.005 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/5.545, allocations: 4.562 kB / 3.005 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006738/5.546, allocations: 422.8 kB / 3.005 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/5.546, allocations: 0 / 3.005 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.004088/5.55, allocations: 1.817 MB / 3.007 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/5.55, allocations: 59.97 kB / 3.007 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/5.555, allocations: 2.953 MB / 3.01 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/5.555, allocations: 41.7 kB / 3.01 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/5.556, allocations: 0.8899 MB / 3.011 GB, free: 131.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/5.556, allocations: 224.9 kB / 3.011 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/5.556, allocations: 16 kB / 3.011 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/5.556, allocations: 341.9 kB / 3.012 GB, free: 131 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/5.557, allocations: 309.8 kB / 3.012 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/5.557, allocations: 443.2 kB / 3.012 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/5.558, allocations: 356.7 kB / 3.013 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.558, allocations: 0 / 3.013 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002122/5.56, allocations: 1.236 MB / 3.014 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/5.56, allocations: 17.61 kB / 3.014 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/5.56, allocations: 11.98 kB / 3.014 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/5.561, allocations: 279.5 kB / 3.014 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/5.561, allocations: 135.8 kB / 3.014 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/5.565, allocations: 4.51 MB / 3.019 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/5.566, allocations: 119.4 kB / 3.019 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/5.566, allocations: 27.95 kB / 3.019 GB, free: 123.2 MB / 0.7136 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_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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008843/5.567, allocations: 0.6068 MB / 3.019 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/5.567, allocations: 221.3 kB / 3.02 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/5.569, allocations: 1.183 MB / 3.021 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/5.569, allocations: 8 kB / 3.021 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/5.569, allocations: 7.938 kB / 3.021 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/5.569, allocations: 3.984 kB / 3.021 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/5.574, allocations: 2.844 MB / 3.024 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/5.574, allocations: 0 / 3.024 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/5.575, allocations: 75.89 kB / 3.024 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/5.575, allocations: 270.7 kB / 3.024 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/5.575, allocations: 23.98 kB / 3.024 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/5.579, allocations: 4.506 MB / 3.028 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.579, allocations: 0 / 3.028 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/5.582, allocations: 1.613 MB / 3.03 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/5.583, allocations: 498.2 kB / 3.03 GB, free: 111 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/5.583, allocations: 31.98 kB / 3.03 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/5.584, allocations: 55.95 kB / 3.03 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/5.584, allocations: 80.53 kB / 3.031 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/5.584, allocations: 23.98 kB / 3.031 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003099/5.587, allocations: 2.361 MB / 3.033 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/5.587, allocations: 0 / 3.033 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001741/5.589, allocations: 460.2 kB / 3.033 GB, free: 108 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002106/5.591, allocations: 0.9848 MB / 3.034 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002087/5.593, allocations: 1.075 MB / 3.035 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/5.593, allocations: 0 / 3.035 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/5.594, allocations: 0.7111 MB / 3.036 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/5.596, allocations: 254.2 kB / 3.036 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006911/5.603, allocations: 4.795 MB / 3.041 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/5.604, allocations: 1.575 MB / 3.042 GB, free: 98.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000668/5.605, allocations: 250 kB / 3.043 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/5.605, allocations: 107.4 kB / 3.043 GB, free: 98.29 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/5.605, allocations: 0 / 3.043 GB, free: 98.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.05208/5.657, allocations: 24.58 MB / 3.067 GB, free: 73.82 MB / 0.7136 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)