Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.833/0.833, allocations: 143.4 MB / 158.3 MB, free: 5.637 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.001199/0.001199, allocations: 188.2 kB / 191.5 MB, free: 5.664 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.584/1.584, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.0009724/0.0009723, allocations: 96.19 kB / 0.5188 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 270.6 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.000447, allocations: 11.28 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1931, allocations: 82.8 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.174/6.368, allocations: 2.151 GB / 2.924 GB, free: 217.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/6.368, allocations: 105.1 kB / 2.924 GB, free: 217.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1505/6.518, allocations: 75.54 MB / 2.998 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/6.518, allocations: 0 / 2.998 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001773/6.519, allocations: 47.92 kB / 2.998 GB, free: 144.7 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005287/6.524, allocations: 2.25 MB / 3 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/6.524, allocations: 8.031 kB / 3 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/6.525, allocations: 241.1 kB / 3.001 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/6.531, allocations: 1.915 MB / 3.003 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/6.531, allocations: 99 kB / 3.003 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/6.531, allocations: 68 kB / 3.003 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/6.533, allocations: 0.7688 MB / 3.003 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/6.533, allocations: 4 kB / 3.004 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/6.533, allocations: 24 kB / 3.004 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/6.533, allocations: 16 kB / 3.004 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/6.534, allocations: 0.6219 MB / 3.004 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00591/6.54, allocations: 3.92 MB / 3.008 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/6.541, allocations: 0.7383 MB / 3.009 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/6.541, allocations: 12.55 kB / 3.009 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006872/6.542, allocations: 444.1 kB / 3.009 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/6.542, allocations: 4 kB / 3.009 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.004462/6.547, allocations: 1.882 MB / 3.011 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/6.547, allocations: 64.02 kB / 3.011 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/6.551, allocations: 3.008 MB / 3.014 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/6.552, allocations: 41.7 kB / 3.014 GB, free: 128 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/6.552, allocations: 0.9252 MB / 3.015 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/6.552, allocations: 236.7 kB / 3.015 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/6.553, allocations: 20 kB / 3.015 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/6.553, allocations: 341.9 kB / 3.015 GB, free: 126.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/6.553, allocations: 321.8 kB / 3.016 GB, free: 126.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/6.554, allocations: 477.9 kB / 3.016 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/6.555, allocations: 368.6 kB / 3.017 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/6.555, allocations: 0 / 3.017 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002254/6.557, allocations: 1.275 MB / 3.018 GB, free: 124 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/6.557, allocations: 11.98 kB / 3.018 GB, free: 124 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/6.557, allocations: 4 kB / 3.018 GB, free: 124 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/6.558, allocations: 271.6 kB / 3.018 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/6.558, allocations: 143.8 kB / 3.018 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/6.562, allocations: 4.511 MB / 3.023 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/6.563, allocations: 123.4 kB / 3.023 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/6.563, allocations: 31.98 kB / 3.023 GB, free: 118.7 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.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {(1,100.0%) 3,(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001348/6.565, allocations: 0.6185 MB / 3.023 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007338/6.566, allocations: 221.3 kB / 3.024 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/6.568, allocations: 1.226 MB / 3.025 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/6.568, allocations: 8 kB / 3.025 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/6.568, allocations: 11.89 kB / 3.025 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/6.568, allocations: 3.984 kB / 3.025 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/6.575, allocations: 2.912 MB / 3.028 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/6.575, allocations: 4 kB / 3.028 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/6.575, allocations: 80.12 kB / 3.028 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006573/6.576, allocations: 269.4 kB / 3.028 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/6.576, allocations: 23.98 kB / 3.028 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/6.58, allocations: 4.504 MB / 3.032 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.58, allocations: 0 / 3.032 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/6.584, allocations: 1.668 MB / 3.034 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/6.585, allocations: 0.4943 MB / 3.035 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/6.586, allocations: 27.95 kB / 3.035 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/6.587, allocations: 63.89 kB / 3.035 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/6.587, allocations: 88.55 kB / 3.035 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/6.587, allocations: 23.98 kB / 3.035 GB, free: 106.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004337/6.591, allocations: 2.397 MB / 3.037 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/6.591, allocations: 0 / 3.037 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00249/6.594, allocations: 467.5 kB / 3.038 GB, free: 103.2 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * 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.002215/6.596, allocations: 0.9771 MB / 3.038 GB, free: 102.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002519/6.599, allocations: 1.118 MB / 3.04 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.599, allocations: 0 / 3.04 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/6.6, allocations: 0.7227 MB / 3.04 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/6.602, allocations: 261.4 kB / 3.041 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009587/6.612, allocations: 4.875 MB / 3.045 GB, free: 95.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/6.614, allocations: 1.598 MB / 3.047 GB, free: 93.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001174/6.615, allocations: 258.3 kB / 3.047 GB, free: 93.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/6.616, allocations: 111.4 kB / 3.047 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.954e-06/6.616, allocations: 0 / 3.047 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.04852/6.664, allocations: 25.21 MB / 3.072 GB, free: 68.24 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)