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.8106/0.8106, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001058/0.001058, allocations: 180.1 kB / 182.2 MB, free: 9.457 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.395/1.395, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0008852/0.0008852, allocations: 72.19 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 276.9 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.146e-05, allocations: 0 / 0.6765 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3575, allocations: 82.78 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.281/4.638, allocations: 2.151 GB / 2.908 GB, free: 133.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/4.639, allocations: 102.7 kB / 2.908 GB, free: 133.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1761/4.815, allocations: 83.1 MB / 2.989 GB, free: 58.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/4.815, allocations: 0 / 2.989 GB, free: 58.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003885/4.815, allocations: 48 kB / 2.989 GB, free: 58.37 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005534/4.821, allocations: 2.517 MB / 2.992 GB, free: 55.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/4.821, allocations: 8.031 kB / 2.992 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/4.822, allocations: 347.7 kB / 2.992 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/4.828, allocations: 2.581 MB / 2.995 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/4.828, allocations: 91.62 kB / 2.995 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/4.829, allocations: 52 kB / 2.995 GB, free: 52.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001501/4.83, allocations: 0.7262 MB / 2.996 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/4.832, allocations: 0.8211 MB / 2.996 GB, free: 51.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/4.832, allocations: 7.984 kB / 2.996 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/4.832, allocations: 4 kB / 2.996 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/4.832, allocations: 20 kB / 2.996 GB, free: 51.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007834/4.84, allocations: 4.713 MB / 3.001 GB, free: 46.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/4.841, allocations: 0.8895 MB / 3.002 GB, free: 45.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/4.842, allocations: 0.4957 MB / 3.002 GB, free: 44.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/4.842, allocations: 12.78 kB / 3.002 GB, free: 44.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/4.843, allocations: 0.5295 MB / 3.003 GB, free: 44.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.238e-06/4.843, allocations: 0 / 3.003 GB, free: 44.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.002815/4.845, allocations: 1.432 MB / 3.004 GB, free: 42.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/4.845, allocations: 72.59 kB / 3.004 GB, free: 42.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007941/4.853, allocations: 4.317 MB / 3.009 GB, free: 38.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/4.854, allocations: 29.7 kB / 3.009 GB, free: 38.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/4.855, allocations: 1.364 MB / 3.01 GB, free: 36.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/4.855, allocations: 319.4 kB / 3.01 GB, free: 36.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/4.855, allocations: 0 / 3.01 GB, free: 36.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/4.855, allocations: 345.9 kB / 3.011 GB, free: 36.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/4.856, allocations: 350.5 kB / 3.011 GB, free: 35.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/4.856, allocations: 0.5181 MB / 3.011 GB, free: 35.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/4.857, allocations: 418 kB / 3.012 GB, free: 34.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/4.857, allocations: 0 / 3.012 GB, free: 34.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002632/4.86, allocations: 1.499 MB / 3.013 GB, free: 33.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/4.86, allocations: 8 kB / 3.013 GB, free: 33.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/4.86, allocations: 8 kB / 3.013 GB, free: 33.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000876/4.861, allocations: 328.2 kB / 3.014 GB, free: 33.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/4.861, allocations: 191.7 kB / 3.014 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/4.866, allocations: 4.806 MB / 3.018 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/4.867, allocations: 127.2 kB / 3.019 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/4.867, allocations: 39.98 kB / 3.019 GB, free: 27.66 MB / 0.698 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 () * 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.0002227/4.868, allocations: 146.2 kB / 3.019 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007322/4.868, allocations: 324 kB / 3.019 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/4.871, allocations: 1.6 MB / 3.021 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/4.871, allocations: 12 kB / 3.021 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/4.871, allocations: 4 kB / 3.021 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/4.871, allocations: 11.97 kB / 3.021 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006306/4.878, allocations: 3.889 MB / 3.024 GB, free: 21.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/4.878, allocations: 0 / 3.024 GB, free: 21.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/4.878, allocations: 119.8 kB / 3.025 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/4.879, allocations: 321.7 kB / 3.025 GB, free: 21.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/4.879, allocations: 19.98 kB / 3.025 GB, free: 21.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/4.883, allocations: 4.791 MB / 3.03 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/4.883, allocations: 0 / 3.03 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/4.886, allocations: 2.163 MB / 3.032 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/4.888, allocations: 0.7039 MB / 3.032 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/4.888, allocations: 23.98 kB / 3.032 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/4.889, allocations: 71.78 kB / 3.032 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/4.889, allocations: 109.1 kB / 3.033 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/4.889, allocations: 39.98 kB / 3.033 GB, free: 12.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004522/4.894, allocations: 3.393 MB / 3.036 GB, free: 9.594 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/4.894, allocations: 0 / 3.036 GB, free: 9.594 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001873/4.896, allocations: 0.5891 MB / 3.036 GB, free: 9.004 MB / 0.698 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) * 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.00181/4.898, allocations: 0.9998 MB / 3.037 GB, free: 8.102 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002093/4.9, allocations: 1.261 MB / 3.039 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.9, allocations: 0 / 3.039 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/4.901, allocations: 0.8278 MB / 3.04 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/4.903, allocations: 331.9 kB / 3.04 GB, free: 5.648 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/4.911, allocations: 5.309 MB / 3.045 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3794/5.29, allocations: 2.023 MB / 3.047 GB, free: 206 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001531/5.292, allocations: 394.8 kB / 3.047 GB, free: 206 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/5.292, allocations: 150.7 kB / 3.048 GB, free: 206 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/5.292, allocations: 0.6875 kB / 3.048 GB, free: 206 MB / 0.698 GB Notification: Performance of Templates: time 0.04495/5.337, allocations: 25.28 MB / 3.072 GB, free: 204.9 MB / 0.698 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)