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.8676/0.8676, allocations: 143.4 MB / 158.3 MB, free: 5.758 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.001127/0.001127, allocations: 176.6 kB / 191.5 MB, free: 5.777 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.341/1.341, allocations: 223.2 MB / 447.7 MB, free: 6.562 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.0009117/0.0009118, allocations: 104.2 kB / 0.5188 GB, free: 2.918 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 276.1 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000599/0.0005991, allocations: 16 kB / 0.6929 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3958, allocations: 82.77 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.891/5.287, allocations: 2.151 GB / 2.925 GB, free: 149.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.287, allocations: 99.83 kB / 2.925 GB, free: 149.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1632/5.45, allocations: 81.11 MB / 3.004 GB, free: 67.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/5.45, allocations: 0 / 3.004 GB, free: 67.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003821/5.451, allocations: 55.88 kB / 3.004 GB, free: 67.5 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.005956/5.457, allocations: 2.807 MB / 3.007 GB, free: 64.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/5.457, allocations: 8.828 kB / 3.007 GB, free: 64.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/5.458, allocations: 316.1 kB / 3.007 GB, free: 64.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/5.463, allocations: 2.47 MB / 3.01 GB, free: 61.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/5.463, allocations: 107.7 kB / 3.01 GB, free: 61.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/5.464, allocations: 91.98 kB / 3.01 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/5.465, allocations: 0.946 MB / 3.011 GB, free: 60.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/5.465, allocations: 0 / 3.011 GB, free: 60.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/5.465, allocations: 35.98 kB / 3.011 GB, free: 60.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/5.465, allocations: 20 kB / 3.011 GB, free: 60.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/5.467, allocations: 0.8197 MB / 3.012 GB, free: 59.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007247/5.474, allocations: 4.69 MB / 3.016 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/5.476, allocations: 0.9708 MB / 3.017 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/5.476, allocations: 12.98 kB / 3.017 GB, free: 53.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/5.476, allocations: 0.5643 MB / 3.018 GB, free: 53.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.068e-06/5.476, allocations: 0 / 3.018 GB, free: 53.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.005479/5.482, allocations: 2.467 MB / 3.02 GB, free: 50.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/5.482, allocations: 72.34 kB / 3.02 GB, free: 50.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/5.488, allocations: 3.97 MB / 3.024 GB, free: 46.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/5.488, allocations: 49.7 kB / 3.024 GB, free: 46.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/5.489, allocations: 1.195 MB / 3.025 GB, free: 45.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/5.489, allocations: 303.7 kB / 3.026 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/5.489, allocations: 23.94 kB / 3.026 GB, free: 45.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/5.49, allocations: 341.9 kB / 3.026 GB, free: 44.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/5.49, allocations: 413.8 kB / 3.026 GB, free: 44.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/5.491, allocations: 0.5712 MB / 3.027 GB, free: 43.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/5.492, allocations: 473.4 kB / 3.027 GB, free: 43.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/5.492, allocations: 4 kB / 3.027 GB, free: 43.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002916/5.495, allocations: 1.616 MB / 3.029 GB, free: 41.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/5.495, allocations: 8 kB / 3.029 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/5.495, allocations: 4 kB / 3.029 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008434/5.496, allocations: 347.2 kB / 3.029 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/5.496, allocations: 179.7 kB / 3.029 GB, free: 41.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/5.501, allocations: 5.107 MB / 3.034 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/5.502, allocations: 155.2 kB / 3.035 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/5.502, allocations: 32 kB / 3.035 GB, free: 35.47 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 () * Number of clocked 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.001365/5.504, allocations: 0.7788 MB / 3.035 GB, free: 34.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/5.504, allocations: 280.5 kB / 3.036 GB, free: 34.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/5.507, allocations: 1.652 MB / 3.037 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/5.507, allocations: 8 kB / 3.037 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/5.507, allocations: 4 kB / 3.037 GB, free: 32.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/5.507, allocations: 7.984 kB / 3.037 GB, free: 32.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/5.513, allocations: 3.802 MB / 3.041 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/5.513, allocations: 8 kB / 3.041 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/5.513, allocations: 111.8 kB / 3.041 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007543/5.514, allocations: 338.6 kB / 3.041 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/5.514, allocations: 23.98 kB / 3.041 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/5.518, allocations: 5.105 MB / 3.046 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/5.518, allocations: 0 / 3.046 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/5.522, allocations: 2.209 MB / 3.049 GB, free: 20.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/5.524, allocations: 0.6378 MB / 3.049 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/5.524, allocations: 32 kB / 3.049 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/5.525, allocations: 79.84 kB / 3.049 GB, free: 19.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/5.525, allocations: 100.8 kB / 3.049 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/5.525, allocations: 31.98 kB / 3.049 GB, free: 19.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003953/5.529, allocations: 3.173 MB / 3.053 GB, free: 16.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/5.529, allocations: 4 kB / 3.053 GB, free: 16.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002192/5.531, allocations: 0.5775 MB / 3.053 GB, free: 16.11 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) * Number of clocked states: 0 () * 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.001819/5.533, allocations: 0.9895 MB / 3.054 GB, free: 15.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002381/5.536, allocations: 1.367 MB / 3.055 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/5.536, allocations: 0 / 3.055 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/5.537, allocations: 0.8885 MB / 3.056 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/5.539, allocations: 310.2 kB / 3.057 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/5.547, allocations: 6.299 MB / 3.063 GB, free: 6.367 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/5.548, allocations: 1.879 MB / 3.065 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001049/5.549, allocations: 359.5 kB / 3.065 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/5.549, allocations: 127.3 kB / 3.065 GB, free: 3.969 MB / 0.698 GB Notification: Performance of SimCode: time 1.813e-06/5.549, allocations: 0 / 3.065 GB, free: 3.969 MB / 0.698 GB Notification: Performance of Templates: time 0.4458/5.995, allocations: 29.79 MB / 3.094 GB, free: 201.5 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)