Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 165.2 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 223.2 MB / 0.7949 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 104.1 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 12.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3488, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.607, allocations: 425.7 MB / 1.639 GB, free: 2.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.608, allocations: 90.83 kB / 1.639 GB, free: 2.883 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.84/5.447, allocations: 1.002 GB / 2.64 GB, free: 140.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.495e-06/5.447, allocations: 0 / 2.64 GB, free: 140.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005932/5.448, allocations: 75.98 kB / 2.64 GB, free: 140.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01211/5.46, allocations: 3.196 MB / 2.643 GB, free: 137 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/5.46, allocations: 12.03 kB / 2.644 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/5.463, allocations: 359.9 kB / 2.644 GB, free: 136.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009541/5.472, allocations: 3.118 MB / 2.647 GB, free: 133.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/5.473, allocations: 188.6 kB / 2.647 GB, free: 133.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/5.474, allocations: 239.9 kB / 2.647 GB, free: 133.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009049/5.483, allocations: 3.024 MB / 2.65 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/5.483, allocations: 7.938 kB / 2.65 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008193/5.484, allocations: 104 kB / 2.65 GB, free: 129.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/5.484, allocations: 63.95 kB / 2.65 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/5.49, allocations: 2.395 MB / 2.653 GB, free: 127.3 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/5.508, allocations: 12.97 MB / 2.665 GB, free: 113.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/5.511, allocations: 1.648 MB / 2.667 GB, free: 111.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006666/5.511, allocations: 0.7088 MB / 2.668 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/5.511, allocations: 43.56 kB / 2.668 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002055/5.514, allocations: 242.5 kB / 2.668 GB, free: 110.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 5.651e-06/5.514, allocations: 3.938 kB / 2.668 GB, free: 110.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=126): time 0.009142/5.523, allocations: 3.447 MB / 2.671 GB, free: 107.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/5.523, allocations: 149.5 kB / 2.672 GB, free: 107 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/5.526, allocations: 1.907 MB / 2.673 GB, free: 105 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/5.526, allocations: 61.69 kB / 2.673 GB, free: 105 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/5.527, allocations: 1.262 MB / 2.675 GB, free: 103.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/5.528, allocations: 441.8 kB / 2.675 GB, free: 103.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/5.528, allocations: 32 kB / 2.675 GB, free: 103.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001259/5.528, allocations: 373.9 kB / 2.675 GB, free: 102.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009966/5.529, allocations: 0.7105 MB / 2.676 GB, free: 102.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/5.53, allocations: 1.233 MB / 2.677 GB, free: 100.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/5.531, allocations: 0.9314 MB / 2.678 GB, free: 99.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/5.531, allocations: 8 kB / 2.678 GB, free: 99.72 MB / 1.167 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003509/5.535, allocations: 2.359 MB / 2.681 GB, free: 97.35 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001199/5.536, allocations: 5.725 MB / 2.686 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/5.536, allocations: 12 kB / 2.686 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/5.538, allocations: 478.6 kB / 2.687 GB, free: 90.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/5.539, allocations: 351.4 kB / 2.687 GB, free: 90.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/5.542, allocations: 3.138 MB / 2.69 GB, free: 87.04 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/5.545, allocations: 223.5 kB / 2.69 GB, free: 86.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/5.545, allocations: 88.33 kB / 2.69 GB, free: 86.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/5.545, allocations: 4 kB / 2.69 GB, free: 86.73 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002995/5.548, allocations: 2.145 MB / 2.692 GB, free: 84.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/5.548, allocations: 15.98 kB / 2.692 GB, free: 84.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/5.549, allocations: 233.6 kB / 2.693 GB, free: 84.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/5.55, allocations: 367.4 kB / 2.693 GB, free: 83.97 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/5.553, allocations: 4.212 MB / 2.697 GB, free: 79.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/5.556, allocations: 219.6 kB / 2.697 GB, free: 79.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/5.557, allocations: 79.97 kB / 2.697 GB, free: 79.19 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002199/5.559, allocations: 1.015 MB / 2.698 GB, free: 78.16 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/5.56, allocations: 213.3 kB / 2.699 GB, free: 77.95 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/5.563, allocations: 2.015 MB / 2.701 GB, free: 75.92 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/5.563, allocations: 16 kB / 2.701 GB, free: 75.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/5.563, allocations: 0 / 2.701 GB, free: 75.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/5.565, allocations: 1.617 MB / 2.702 GB, free: 74.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008344/5.573, allocations: 4.583 MB / 2.707 GB, free: 69.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/5.573, allocations: 0 / 2.707 GB, free: 69.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/5.574, allocations: 215.6 kB / 2.707 GB, free: 69.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/5.576, allocations: 429.4 kB / 2.707 GB, free: 68.96 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/5.576, allocations: 40.22 kB / 2.707 GB, free: 68.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/5.578, allocations: 3.045 MB / 2.71 GB, free: 65.72 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/5.578, allocations: 8.016 kB / 2.71 GB, free: 65.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/5.583, allocations: 2.977 MB / 2.713 GB, free: 62.67 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/5.585, allocations: 0.5372 MB / 2.714 GB, free: 62.11 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/5.587, allocations: 24 kB / 2.714 GB, free: 62.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/5.59, allocations: 191.7 kB / 2.714 GB, free: 61.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/5.59, allocations: 101.1 kB / 2.714 GB, free: 61.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/5.59, allocations: 55.95 kB / 2.714 GB, free: 61.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004403/5.595, allocations: 1.483 MB / 2.716 GB, free: 60.24 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/5.595, allocations: 0 / 2.716 GB, free: 60.24 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009694/5.604, allocations: 1.523 MB / 2.717 GB, free: 58.71 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/5.606, allocations: 0.5744 MB / 2.718 GB, free: 58.15 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006558/5.613, allocations: 3.302 MB / 2.721 GB, free: 54.81 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/5.613, allocations: 4 kB / 2.721 GB, free: 54.81 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/5.615, allocations: 0.9903 MB / 2.722 GB, free: 53.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/5.621, allocations: 1.124 MB / 2.723 GB, free: 52.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/5.635, allocations: 6.303 MB / 2.729 GB, free: 46.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/5.639, allocations: 2.215 MB / 2.731 GB, free: 44.11 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004641/5.643, allocations: 0.9575 MB / 2.732 GB, free: 43.15 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/5.645, allocations: 179.4 kB / 2.732 GB, free: 42.97 MB / 1.167 GB Notification: Performance of SimCode: time 2.214e-06/5.645, allocations: 0 / 2.732 GB, free: 42.97 MB / 1.167 GB Notification: Performance of Templates: time 0.8031/6.448, allocations: 47.16 MB / 2.778 GB, free: 287.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.csv","../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches