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.8518/0.8518, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001071/0.001071, allocations: 176.6 kB / 182.2 MB, free: 9.438 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.42/1.42, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0008752/0.0008751, allocations: 80.14 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 280.7 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3926, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.677/5.07, allocations: 2.148 GB / 2.906 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/5.07, allocations: 91.83 kB / 2.906 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1482/5.219, allocations: 72.61 MB / 2.977 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/5.219, allocations: 0 / 2.977 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002362/5.219, allocations: 39.94 kB / 2.977 GB, free: 3.199 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003343/5.222, allocations: 1.801 MB / 2.979 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/5.222, allocations: 12.03 kB / 2.979 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/5.223, allocations: 237.1 kB / 2.979 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3886/5.611, allocations: 1.837 MB / 2.981 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/5.612, allocations: 76.02 kB / 2.981 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/5.612, allocations: 40.09 kB / 2.981 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009886/5.613, allocations: 486.1 kB / 2.981 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/5.614, allocations: 0.5838 MB / 2.982 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/5.614, allocations: 3.156 kB / 2.982 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/5.614, allocations: 2.141 kB / 2.982 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/5.614, allocations: 15.2 kB / 2.982 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/5.62, allocations: 3.573 MB / 2.985 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/5.621, allocations: 0.5952 MB / 2.986 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/5.622, allocations: 340 kB / 2.986 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/5.622, allocations: 7.672 kB / 2.986 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/5.622, allocations: 359.6 kB / 2.987 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.349e-06/5.622, allocations: 0 / 2.987 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001938/5.624, allocations: 0.9488 MB / 2.988 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/5.624, allocations: 62.95 kB / 2.988 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/5.63, allocations: 2.794 MB / 2.99 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/5.63, allocations: 33.5 kB / 2.99 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/5.631, allocations: 0.8911 MB / 2.991 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/5.631, allocations: 208.6 kB / 2.991 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/5.631, allocations: 0 / 2.991 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/5.631, allocations: 341.2 kB / 2.992 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/5.631, allocations: 230.1 kB / 2.992 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/5.632, allocations: 357.5 kB / 2.992 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/5.632, allocations: 271.3 kB / 2.993 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/5.632, allocations: 0 / 2.993 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002001/5.634, allocations: 1.031 MB / 2.994 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/5.634, allocations: 10.16 kB / 2.994 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/5.634, allocations: 8.375 kB / 2.994 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/5.635, allocations: 275.3 kB / 2.994 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/5.635, allocations: 137 kB / 2.994 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/5.639, allocations: 4.463 MB / 2.998 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/5.64, allocations: 101.1 kB / 2.998 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/5.64, allocations: 30.95 kB / 2.998 GB, free: 201.9 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_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 () * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/5.64, allocations: 138.8 kB / 2.999 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/5.641, allocations: 211.4 kB / 2.999 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/5.643, allocations: 1.051 MB / 3 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/5.643, allocations: 7.875 kB / 3 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/5.643, allocations: 3.781 kB / 3 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/5.643, allocations: 6.375 kB / 3 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/5.647, allocations: 2.616 MB / 3.002 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/5.647, allocations: 0 / 3.002 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/5.647, allocations: 79.69 kB / 3.002 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/5.647, allocations: 255.7 kB / 3.003 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/5.648, allocations: 11.27 kB / 3.003 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003707/5.651, allocations: 4.469 MB / 3.007 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/5.651, allocations: 0 / 3.007 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/5.653, allocations: 1.425 MB / 3.008 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/5.654, allocations: 492.9 kB / 3.009 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/5.654, allocations: 12.44 kB / 3.009 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/5.655, allocations: 63.81 kB / 3.009 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/5.655, allocations: 76.67 kB / 3.009 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/5.655, allocations: 22.86 kB / 3.009 GB, free: 198 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002444/5.657, allocations: 2.198 MB / 3.011 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/5.657, allocations: 0 / 3.011 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001323/5.659, allocations: 430.4 kB / 3.012 GB, free: 197.9 MB / 0.6823 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) * 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 {(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.001432/5.66, allocations: 0.9969 MB / 3.013 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001305/5.661, allocations: 0.9143 MB / 3.014 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.661, allocations: 0 / 3.014 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007108/5.662, allocations: 0.6382 MB / 3.014 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/5.663, allocations: 230.2 kB / 3.014 GB, free: 197 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/5.668, allocations: 3.55 MB / 3.018 GB, free: 196 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/5.669, allocations: 1.575 MB / 3.019 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004978/5.669, allocations: 251 kB / 3.02 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/5.67, allocations: 109.5 kB / 3.02 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/5.67, allocations: 0 / 3.02 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03062/5.7, allocations: 18.88 MB / 3.038 GB, free: 193.8 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)