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.7715/0.7715, 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.001495/0.001495, allocations: 176.4 kB / 187.2 MB, free: 11.9 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.385/1.385, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0009588/0.0009587, allocations: 98.33 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 276.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.799e-05, allocations: 0 / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4359, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/6.352, allocations: 2.149 GB / 2.913 GB, free: 120.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/6.353, allocations: 108.5 kB / 2.914 GB, free: 120.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1448/6.497, allocations: 73.5 MB / 2.985 GB, free: 54.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/6.497, allocations: 0 / 2.985 GB, free: 54.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001696/6.498, allocations: 36 kB / 2.985 GB, free: 54.54 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003068/6.501, allocations: 1.809 MB / 2.987 GB, free: 52.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/6.501, allocations: 8.031 kB / 2.987 GB, free: 52.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/6.501, allocations: 237.1 kB / 2.987 GB, free: 52.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/6.505, allocations: 1.855 MB / 2.989 GB, free: 50.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/6.505, allocations: 94.95 kB / 2.989 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/6.505, allocations: 68 kB / 2.989 GB, free: 50.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/6.506, allocations: 0.6667 MB / 2.99 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/6.506, allocations: 0 / 2.99 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/6.506, allocations: 28 kB / 2.99 GB, free: 49.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/6.506, allocations: 12 kB / 2.99 GB, free: 49.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/6.507, allocations: 0.5088 MB / 2.99 GB, free: 49.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/6.512, allocations: 3.693 MB / 2.994 GB, free: 45.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/6.513, allocations: 0.6259 MB / 2.995 GB, free: 44.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/6.513, allocations: 366.9 kB / 2.995 GB, free: 44.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/6.513, allocations: 4.562 kB / 2.995 GB, free: 44.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/6.514, allocations: 386.9 kB / 2.995 GB, free: 43.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 4.538e-06/6.514, allocations: 0 / 2.995 GB, free: 43.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001819/6.516, allocations: 0.9942 MB / 2.996 GB, free: 42.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/6.516, allocations: 55.97 kB / 2.996 GB, free: 42.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/6.52, allocations: 2.936 MB / 2.999 GB, free: 39.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/6.52, allocations: 45.7 kB / 2.999 GB, free: 39.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/6.521, allocations: 0.9053 MB / 3 GB, free: 38.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/6.521, allocations: 213 kB / 3 GB, free: 38.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/6.521, allocations: 16 kB / 3 GB, free: 38.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.521, allocations: 337.9 kB / 3.001 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/6.521, allocations: 245.5 kB / 3.001 GB, free: 37.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/6.522, allocations: 373.1 kB / 3.001 GB, free: 37.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/6.522, allocations: 292.2 kB / 3.002 GB, free: 37.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.522, allocations: 0 / 3.002 GB, free: 37.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001793/6.524, allocations: 1.113 MB / 3.003 GB, free: 36.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/6.524, allocations: 8 kB / 3.003 GB, free: 36.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/6.524, allocations: 0 / 3.003 GB, free: 36.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007563/6.525, allocations: 295.4 kB / 3.003 GB, free: 35.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/6.525, allocations: 135.8 kB / 3.003 GB, free: 35.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/6.53, allocations: 4.628 MB / 3.008 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/6.531, allocations: 111.4 kB / 3.008 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/6.531, allocations: 31.98 kB / 3.008 GB, free: 30.67 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: 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.0002062/6.531, allocations: 155.9 kB / 3.008 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/6.531, allocations: 213.4 kB / 3.008 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/6.533, allocations: 1.123 MB / 3.009 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/6.533, allocations: 8 kB / 3.009 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/6.533, allocations: 4 kB / 3.009 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/6.533, allocations: 3.984 kB / 3.009 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/6.537, allocations: 2.781 MB / 3.012 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/6.537, allocations: 0 / 3.012 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/6.538, allocations: 71.89 kB / 3.012 GB, free: 26.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/6.538, allocations: 265.5 kB / 3.012 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/6.538, allocations: 23.98 kB / 3.012 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/6.542, allocations: 4.618 MB / 3.017 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/6.542, allocations: 0 / 3.017 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/6.544, allocations: 1.496 MB / 3.018 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000982/6.545, allocations: 0.4904 MB / 3.019 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/6.546, allocations: 24 kB / 3.019 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/6.546, allocations: 63.86 kB / 3.019 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/6.546, allocations: 76.66 kB / 3.019 GB, free: 18.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/6.546, allocations: 23.98 kB / 3.019 GB, free: 18.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002671/6.549, allocations: 2.335 MB / 3.021 GB, free: 16.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/6.549, allocations: 3.938 kB / 3.021 GB, free: 16.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001421/6.551, allocations: 459.4 kB / 3.022 GB, free: 16.03 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: 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.001626/6.552, allocations: 0.9221 MB / 3.023 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001492/6.554, allocations: 0.9794 MB / 3.024 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/6.554, allocations: 4 kB / 3.024 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/6.555, allocations: 0.6608 MB / 3.024 GB, free: 13.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/6.556, allocations: 258.3 kB / 3.024 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/6.561, allocations: 3.62 MB / 3.028 GB, free: 9.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009489/6.562, allocations: 1.575 MB / 3.03 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006226/6.562, allocations: 250 kB / 3.03 GB, free: 7.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/6.563, allocations: 107.3 kB / 3.03 GB, free: 7.688 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/6.563, allocations: 0 / 3.03 GB, free: 7.688 MB / 0.698 GB Notification: Performance of Templates: time 0.4819/7.045, allocations: 26.36 MB / 3.056 GB, free: 210.3 MB / 0.698 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)