Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.805/0.805, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 186.4 kB / 187.3 MB, free: 11.91 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.429/1.429, allocations: 221.3 MB / 441.4 MB, free: 4.699 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.0008643/0.0008644, allocations: 92.41 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 276.9 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.166e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4212, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.53/5.952, allocations: 2.151 GB / 2.915 GB, free: 173 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/5.952, allocations: 100.4 kB / 2.915 GB, free: 172.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1662/6.118, allocations: 80.93 MB / 2.995 GB, free: 91.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/6.118, allocations: 0 / 2.995 GB, free: 91.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002109/6.119, allocations: 51.94 kB / 2.995 GB, free: 91.34 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00488/6.123, allocations: 2.294 MB / 2.997 GB, free: 88.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/6.124, allocations: 8.031 kB / 2.997 GB, free: 88.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/6.125, allocations: 312.2 kB / 2.997 GB, free: 88.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/6.13, allocations: 2.439 MB / 2.999 GB, free: 86.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/6.131, allocations: 103.7 kB / 3 GB, free: 86.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/6.131, allocations: 91.91 kB / 3 GB, free: 85.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/6.132, allocations: 0.8993 MB / 3.001 GB, free: 85.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/6.132, allocations: 0 / 3.001 GB, free: 85.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/6.132, allocations: 32 kB / 3.001 GB, free: 85.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/6.132, allocations: 24 kB / 3.001 GB, free: 85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/6.133, allocations: 0.734 MB / 3.001 GB, free: 84.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008884/6.142, allocations: 4.706 MB / 3.006 GB, free: 79.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/6.144, allocations: 0.888 MB / 3.007 GB, free: 78.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007947/6.145, allocations: 499 kB / 3.007 GB, free: 77.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/6.145, allocations: 8.781 kB / 3.007 GB, free: 77.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008869/6.146, allocations: 0.5147 MB / 3.008 GB, free: 77.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 6.071e-06/6.146, allocations: 0 / 3.008 GB, free: 77.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.003772/6.15, allocations: 1.381 MB / 3.009 GB, free: 75.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/6.15, allocations: 64.19 kB / 3.009 GB, free: 75.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009671/6.16, allocations: 3.945 MB / 3.013 GB, free: 71.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002999/6.16, allocations: 53.64 kB / 3.013 GB, free: 71.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/6.161, allocations: 1.187 MB / 3.014 GB, free: 70.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/6.162, allocations: 303.7 kB / 3.015 GB, free: 70.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/6.162, allocations: 16 kB / 3.015 GB, free: 70.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001316/6.162, allocations: 345.9 kB / 3.015 GB, free: 70 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/6.163, allocations: 345.9 kB / 3.015 GB, free: 69.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/6.164, allocations: 0.5012 MB / 3.016 GB, free: 69.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/6.164, allocations: 407.1 kB / 3.016 GB, free: 68.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/6.164, allocations: 3.938 kB / 3.016 GB, free: 68.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003012/6.167, allocations: 1.488 MB / 3.018 GB, free: 67.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/6.167, allocations: 8 kB / 3.018 GB, free: 67.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/6.167, allocations: 4 kB / 3.018 GB, free: 67.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/6.168, allocations: 348.2 kB / 3.018 GB, free: 66.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/6.169, allocations: 171.7 kB / 3.018 GB, free: 66.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/6.174, allocations: 4.975 MB / 3.023 GB, free: 61.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/6.176, allocations: 143.2 kB / 3.023 GB, free: 61.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/6.176, allocations: 35.98 kB / 3.023 GB, free: 61.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0002792/6.176, allocations: 176.9 kB / 3.023 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009443/6.177, allocations: 292.4 kB / 3.024 GB, free: 60.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/6.181, allocations: 1.554 MB / 3.025 GB, free: 59.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/6.181, allocations: 12 kB / 3.025 GB, free: 59.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/6.181, allocations: 4 kB / 3.025 GB, free: 59.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/6.181, allocations: 7.984 kB / 3.025 GB, free: 59.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009227/6.19, allocations: 3.728 MB / 3.029 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/6.19, allocations: 4 kB / 3.029 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/6.191, allocations: 107.9 kB / 3.029 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008874/6.192, allocations: 337.4 kB / 3.029 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/6.192, allocations: 23.98 kB / 3.029 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/6.197, allocations: 4.968 MB / 3.034 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/6.197, allocations: 0 / 3.034 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/6.2, allocations: 2.077 MB / 3.036 GB, free: 47.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/6.202, allocations: 0.634 MB / 3.037 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/6.203, allocations: 39.94 kB / 3.037 GB, free: 46.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/6.204, allocations: 75.89 kB / 3.037 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/6.205, allocations: 108.8 kB / 3.037 GB, free: 46.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/6.205, allocations: 31.98 kB / 3.037 GB, free: 46.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005424/6.21, allocations: 3.136 MB / 3.04 GB, free: 43.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/6.21, allocations: 0 / 3.04 GB, free: 43.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002495/6.213, allocations: 0.5736 MB / 3.041 GB, free: 42.99 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00199/6.215, allocations: 0.9386 MB / 3.041 GB, free: 42.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002283/6.217, allocations: 1.255 MB / 3.043 GB, free: 40.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/6.217, allocations: 4.125 kB / 3.043 GB, free: 40.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/6.218, allocations: 0.8303 MB / 3.043 GB, free: 40.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/6.221, allocations: 320.1 kB / 3.044 GB, free: 39.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009064/6.23, allocations: 4.794 MB / 3.048 GB, free: 34.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/6.232, allocations: 1.883 MB / 3.05 GB, free: 32.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001225/6.233, allocations: 343.6 kB / 3.051 GB, free: 32.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/6.234, allocations: 131.3 kB / 3.051 GB, free: 32.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/6.234, allocations: 4 kB / 3.051 GB, free: 32.52 MB / 0.698 GB Notification: Performance of Templates: time 0.05501/6.289, allocations: 31.51 MB / 3.082 GB, free: 1.074 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)