Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 178.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2479, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.222, allocations: 419.8 MB / 1.31 GB, free: 12.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.223, allocations: 95.2 kB / 1.31 GB, free: 12.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.378/4.601, allocations: 0.9482 GB / 2.258 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/4.601, allocations: 0 / 2.258 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004839/4.602, allocations: 76.75 kB / 2.258 GB, free: 162.2 MB / 0.8855 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.009889/4.611, allocations: 3.15 MB / 2.261 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/4.612, allocations: 7.656 kB / 2.261 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/4.614, allocations: 352.2 kB / 2.262 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/4.622, allocations: 3.041 MB / 2.265 GB, free: 158 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/4.622, allocations: 182.2 kB / 2.265 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008882/4.623, allocations: 243.3 kB / 2.265 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/4.629, allocations: 2.993 MB / 2.268 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/4.629, allocations: 11.69 kB / 2.268 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/4.629, allocations: 93.66 kB / 2.268 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/4.629, allocations: 68.23 kB / 2.268 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/4.633, allocations: 2.385 MB / 2.271 GB, free: 154.6 MB / 0.8855 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.01417/4.647, allocations: 12.95 MB / 2.283 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/4.649, allocations: 1.643 MB / 2.285 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/4.649, allocations: 0.7105 MB / 2.286 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/4.649, allocations: 55.48 kB / 2.286 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001612/4.651, allocations: 231.9 kB / 2.286 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 3.647e-06/4.651, allocations: 3.125 kB / 2.286 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.007373/4.658, allocations: 3.33 MB / 2.289 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/4.659, allocations: 153.4 kB / 2.289 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/4.661, allocations: 1.869 MB / 2.291 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/4.661, allocations: 61.7 kB / 2.291 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/4.663, allocations: 1.255 MB / 2.292 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/4.663, allocations: 443.5 kB / 2.293 GB, free: 131 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/4.663, allocations: 32 kB / 2.293 GB, free: 131 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001351/4.663, allocations: 369.9 kB / 2.293 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009633/4.664, allocations: 0.7119 MB / 2.294 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/4.665, allocations: 1.235 MB / 2.295 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/4.667, allocations: 0.9315 MB / 2.296 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/4.667, allocations: 4 kB / 2.296 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003247/4.67, allocations: 2.369 MB / 2.298 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/4.671, allocations: 5.694 MB / 2.304 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/4.671, allocations: 12 kB / 2.304 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/4.672, allocations: 464.3 kB / 2.304 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/4.674, allocations: 347.4 kB / 2.305 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/4.676, allocations: 3.133 MB / 2.308 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/4.678, allocations: 228.7 kB / 2.308 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/4.678, allocations: 87.91 kB / 2.308 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/4.678, allocations: 4.109 kB / 2.308 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002763/4.681, allocations: 2.143 MB / 2.31 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/4.681, allocations: 12 kB / 2.31 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/4.682, allocations: 244.4 kB / 2.31 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/4.683, allocations: 363.4 kB / 2.311 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/4.686, allocations: 4.22 MB / 2.315 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/4.689, allocations: 211.6 kB / 2.315 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/4.689, allocations: 79.97 kB / 2.315 GB, free: 107.2 MB / 0.8855 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.001904/4.691, allocations: 1.01 MB / 2.316 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/4.691, allocations: 205.5 kB / 2.316 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/4.694, allocations: 2.011 MB / 2.318 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/4.694, allocations: 12 kB / 2.318 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/4.694, allocations: 4 kB / 2.318 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001833/4.696, allocations: 1.613 MB / 2.32 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/4.703, allocations: 4.543 MB / 2.324 GB, free: 97.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/4.703, allocations: 0 / 2.324 GB, free: 97.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/4.704, allocations: 211.7 kB / 2.324 GB, free: 97.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/4.705, allocations: 409.3 kB / 2.325 GB, free: 97.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/4.706, allocations: 39.98 kB / 2.325 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/4.708, allocations: 3.043 MB / 2.328 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/4.708, allocations: 0 / 2.328 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/4.711, allocations: 2.968 MB / 2.331 GB, free: 90.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/4.713, allocations: 0.514 MB / 2.331 GB, free: 90.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/4.713, allocations: 39.89 kB / 2.331 GB, free: 90.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/4.715, allocations: 187.5 kB / 2.331 GB, free: 90.06 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/4.715, allocations: 101.2 kB / 2.332 GB, free: 89.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/4.715, allocations: 47.97 kB / 2.332 GB, free: 89.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001876/4.717, allocations: 1.451 MB / 2.333 GB, free: 88.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/4.717, allocations: 4 kB / 2.333 GB, free: 88.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004201/4.721, allocations: 1.515 MB / 2.334 GB, free: 86.92 MB / 0.8855 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.001168/4.722, allocations: 0.562 MB / 2.335 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004578/4.727, allocations: 3.303 MB / 2.338 GB, free: 83.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/4.727, allocations: 4 kB / 2.338 GB, free: 83.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/4.728, allocations: 0.9891 MB / 2.339 GB, free: 82.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/4.733, allocations: 1.13 MB / 2.34 GB, free: 80.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/4.743, allocations: 6.231 MB / 2.346 GB, free: 74.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/4.745, allocations: 2.203 MB / 2.349 GB, free: 72.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003612/4.749, allocations: 0.9368 MB / 2.349 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/4.75, allocations: 179.3 kB / 2.35 GB, free: 71.41 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/4.75, allocations: 0 / 2.35 GB, free: 71.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.0729/4.823, allocations: 46.81 MB / 2.395 GB, free: 25.37 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches