Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.785/0.785, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001147/0.001147, allocations: 182.9 kB / 191.5 MB, free: 5.762 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.352/1.352, allocations: 223.2 MB / 447.7 MB, free: 4.719 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.0008844/0.0008844, allocations: 96.25 kB / 0.5188 GB, free: 1.074 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 274 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005097, allocations: 14.38 kB / 0.6929 GB, free: 59.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.173, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.352/5.525, allocations: 2.151 GB / 2.925 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/5.526, allocations: 102.7 kB / 2.925 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1662/5.692, allocations: 84.25 MB / 3.008 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/5.692, allocations: 0 / 3.008 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002134/5.692, allocations: 55.94 kB / 3.008 GB, free: 78.33 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005695/5.698, allocations: 3.09 MB / 3.011 GB, free: 75.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/5.698, allocations: 8.828 kB / 3.011 GB, free: 75.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007477/5.699, allocations: 351.6 kB / 3.011 GB, free: 74.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/5.705, allocations: 2.621 MB / 3.014 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/5.705, allocations: 111.9 kB / 3.014 GB, free: 72.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/5.705, allocations: 87.56 kB / 3.014 GB, free: 72.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/5.707, allocations: 0.9933 MB / 3.015 GB, free: 71.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/5.707, allocations: 3.984 kB / 3.015 GB, free: 71.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/5.707, allocations: 36 kB / 3.015 GB, free: 71.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/5.707, allocations: 20 kB / 3.015 GB, free: 71.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/5.709, allocations: 0.8587 MB / 3.016 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008089/5.717, allocations: 4.906 MB / 3.02 GB, free: 65.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/5.719, allocations: 1.033 MB / 3.021 GB, free: 64.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/5.719, allocations: 13 kB / 3.021 GB, free: 64.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009012/5.72, allocations: 0.61 MB / 3.022 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/5.72, allocations: 3.938 kB / 3.022 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104): time 0.005862/5.725, allocations: 2.595 MB / 3.025 GB, free: 61.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/5.726, allocations: 64.41 kB / 3.025 GB, free: 61.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007448/5.733, allocations: 4.548 MB / 3.029 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003107/5.733, allocations: 49.7 kB / 3.029 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/5.734, allocations: 1.353 MB / 3.03 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/5.735, allocations: 331.4 kB / 3.031 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/5.735, allocations: 20 kB / 3.031 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/5.735, allocations: 349.9 kB / 3.031 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/5.736, allocations: 450.3 kB / 3.031 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/5.736, allocations: 0.6105 MB / 3.032 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/5.737, allocations: 0.5027 MB / 3.033 GB, free: 53.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/5.737, allocations: 4 kB / 3.033 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003446/5.741, allocations: 1.741 MB / 3.034 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/5.741, allocations: 9.344 kB / 3.034 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/5.741, allocations: 8 kB / 3.034 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/5.742, allocations: 351.1 kB / 3.035 GB, free: 50.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/5.742, allocations: 191.7 kB / 3.035 GB, free: 50.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/5.747, allocations: 5.108 MB / 3.04 GB, free: 45.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/5.749, allocations: 163 kB / 3.04 GB, free: 45.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/5.749, allocations: 40 kB / 3.04 GB, free: 45.19 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001759/5.751, allocations: 0.864 MB / 3.041 GB, free: 44.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008775/5.752, allocations: 324 kB / 3.041 GB, free: 44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/5.756, allocations: 1.78 MB / 3.043 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/5.756, allocations: 8 kB / 3.043 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/5.756, allocations: 11.94 kB / 3.043 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/5.756, allocations: 3.984 kB / 3.043 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009773/5.765, allocations: 4.175 MB / 3.047 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/5.765, allocations: 0 / 3.047 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/5.766, allocations: 123.8 kB / 3.047 GB, free: 37.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/5.767, allocations: 342.8 kB / 3.047 GB, free: 37.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/5.767, allocations: 27.98 kB / 3.047 GB, free: 37.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/5.772, allocations: 5.108 MB / 3.052 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/5.772, allocations: 4.031 kB / 3.052 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/5.776, allocations: 2.387 MB / 3.055 GB, free: 29.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/5.778, allocations: 0.7076 MB / 3.055 GB, free: 28.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/5.779, allocations: 39.98 kB / 3.056 GB, free: 28.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/5.78, allocations: 87.83 kB / 3.056 GB, free: 28.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/5.781, allocations: 105.2 kB / 3.056 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/5.781, allocations: 35.98 kB / 3.056 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005853/5.787, allocations: 3.632 MB / 3.059 GB, free: 25.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.71e-07/5.787, allocations: 7.938 kB / 3.059 GB, free: 25.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002617/5.789, allocations: 0.6283 MB / 3.06 GB, free: 24.42 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: 26 ($whenCondition9,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/5.791, allocations: 0.9869 MB / 3.061 GB, free: 23.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002903/5.794, allocations: 1.454 MB / 3.062 GB, free: 22.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/5.794, allocations: 0 / 3.062 GB, free: 22.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/5.796, allocations: 0.928 MB / 3.063 GB, free: 21.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/5.798, allocations: 339.5 kB / 3.064 GB, free: 20.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/5.809, allocations: 7.053 MB / 3.07 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/5.812, allocations: 2.031 MB / 3.072 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001428/5.813, allocations: 396.2 kB / 3.073 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/5.814, allocations: 159.3 kB / 3.073 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.743e-06/5.814, allocations: 0 / 3.073 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.4036/6.218, allocations: 31.9 MB / 3.104 GB, free: 202 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)