Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 11 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.001128/0.001128, allocations: 176 kB / 0.4902 GB, free: 2.246 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.565/1.565, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.0008981/0.000898, allocations: 103.1 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 11.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.566, allocations: 426.5 MB / 1.646 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/1.567, allocations: 97.36 kB / 1.646 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.898/5.464, allocations: 1.002 GB / 2.647 GB, free: 121.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.087e-06/5.465, allocations: 0 / 2.647 GB, free: 121.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008377/5.465, allocations: 87.86 kB / 2.648 GB, free: 121.1 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.01669/5.482, allocations: 3.179 MB / 2.651 GB, free: 117.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.74e-05/5.482, allocations: 12.78 kB / 2.651 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/5.486, allocations: 368 kB / 2.651 GB, free: 117.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009641/5.495, allocations: 3.118 MB / 2.654 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/5.496, allocations: 180.6 kB / 2.654 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/5.497, allocations: 239.9 kB / 2.654 GB, free: 113.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/5.506, allocations: 3.019 MB / 2.657 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/5.506, allocations: 7.906 kB / 2.657 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000546/5.507, allocations: 104 kB / 2.657 GB, free: 110.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/5.507, allocations: 75.88 kB / 2.658 GB, free: 110.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/5.511, allocations: 2.387 MB / 2.66 GB, free: 108.1 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.0168/5.527, allocations: 12.99 MB / 2.673 GB, free: 94.27 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/5.53, allocations: 1.647 MB / 2.674 GB, free: 92.59 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/5.53, allocations: 0.7127 MB / 2.675 GB, free: 91.73 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/5.53, allocations: 47.56 kB / 2.675 GB, free: 91.68 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002012/5.532, allocations: 231.8 kB / 2.675 GB, free: 91.45 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.899e-06/5.532, allocations: 0 / 2.675 GB, free: 91.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=126): time 0.008886/5.541, allocations: 3.447 MB / 2.679 GB, free: 87.95 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/5.541, allocations: 145.5 kB / 2.679 GB, free: 87.78 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/5.544, allocations: 1.911 MB / 2.681 GB, free: 85.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/5.545, allocations: 57.7 kB / 2.681 GB, free: 85.77 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/5.546, allocations: 1.266 MB / 2.682 GB, free: 84.49 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/5.546, allocations: 449.6 kB / 2.682 GB, free: 84.05 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/5.546, allocations: 36 kB / 2.682 GB, free: 84.01 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001322/5.547, allocations: 373.8 kB / 2.683 GB, free: 83.64 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/5.548, allocations: 0.7066 MB / 2.683 GB, free: 82.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/5.549, allocations: 1.245 MB / 2.685 GB, free: 81.46 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/5.55, allocations: 0.9236 MB / 2.685 GB, free: 80.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/5.55, allocations: 4 kB / 2.685 GB, free: 80.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003446/5.553, allocations: 2.362 MB / 2.688 GB, free: 78.15 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001443/5.555, allocations: 5.714 MB / 2.693 GB, free: 71.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/5.555, allocations: 19.98 kB / 2.693 GB, free: 71.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/5.557, allocations: 491 kB / 2.694 GB, free: 71.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/5.558, allocations: 351.5 kB / 2.694 GB, free: 71.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/5.561, allocations: 3.126 MB / 2.697 GB, free: 67.84 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/5.564, allocations: 235.4 kB / 2.697 GB, free: 67.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/5.564, allocations: 83.92 kB / 2.697 GB, free: 67.53 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/5.564, allocations: 5.672 kB / 2.698 GB, free: 67.53 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002988/5.567, allocations: 2.144 MB / 2.7 GB, free: 65.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/5.567, allocations: 19.94 kB / 2.7 GB, free: 65.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/5.568, allocations: 234.2 kB / 2.7 GB, free: 65.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/5.569, allocations: 371.4 kB / 2.7 GB, free: 64.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/5.573, allocations: 4.204 MB / 2.704 GB, free: 60.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/5.577, allocations: 223.6 kB / 2.705 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/5.577, allocations: 75.98 kB / 2.705 GB, free: 60 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.003016/5.58, allocations: 1.019 MB / 2.706 GB, free: 58.96 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000998/5.581, allocations: 209.4 kB / 2.706 GB, free: 58.76 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/5.585, allocations: 2.02 MB / 2.708 GB, free: 56.72 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/5.585, allocations: 15.98 kB / 2.708 GB, free: 56.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/5.585, allocations: 4 kB / 2.708 GB, free: 56.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/5.587, allocations: 1.609 MB / 2.709 GB, free: 55.07 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/5.597, allocations: 4.583 MB / 2.714 GB, free: 50.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/5.597, allocations: 3.938 kB / 2.714 GB, free: 50.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/5.598, allocations: 215.6 kB / 2.714 GB, free: 50.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/5.6, allocations: 434.7 kB / 2.714 GB, free: 49.76 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/5.6, allocations: 35.98 kB / 2.714 GB, free: 49.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/5.603, allocations: 3.043 MB / 2.717 GB, free: 46.52 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.603, allocations: 0 / 2.717 GB, free: 46.52 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/5.607, allocations: 2.981 MB / 2.72 GB, free: 43.47 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/5.609, allocations: 0.5218 MB / 2.721 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007929/5.61, allocations: 27.98 kB / 2.721 GB, free: 42.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/5.613, allocations: 191.6 kB / 2.721 GB, free: 42.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/5.613, allocations: 101.1 kB / 2.721 GB, free: 42.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/5.613, allocations: 55.95 kB / 2.721 GB, free: 42.56 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003404/5.617, allocations: 1.479 MB / 2.723 GB, free: 41.06 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/5.617, allocations: 0 / 2.723 GB, free: 41.06 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007143/5.624, allocations: 1.523 MB / 2.724 GB, free: 39.53 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.001651/5.625, allocations: 0.5676 MB / 2.725 GB, free: 38.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006283/5.632, allocations: 3.299 MB / 2.728 GB, free: 35.63 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/5.632, allocations: 0.625 kB / 2.728 GB, free: 35.63 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/5.633, allocations: 0.9927 MB / 2.729 GB, free: 34.63 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006396/5.64, allocations: 1.132 MB / 2.73 GB, free: 33.52 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/5.652, allocations: 6.294 MB / 2.736 GB, free: 27.18 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/5.655, allocations: 2.215 MB / 2.738 GB, free: 24.93 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004113/5.659, allocations: 0.9499 MB / 2.739 GB, free: 23.98 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/5.66, allocations: 179.3 kB / 2.739 GB, free: 23.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.714e-06/5.66, allocations: 0 / 2.739 GB, free: 23.8 MB / 1.167 GB Notification: Performance of Templates: time 0.8521/6.512, allocations: 47.17 MB / 2.785 GB, free: 277.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches