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.014/2.014, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001031/0.001031, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.347/1.347, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008985, allocations: 95.91 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.436e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.261, allocations: 424.9 MB / 1.621 GB, free: 13.65 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.261, allocations: 94.34 kB / 1.621 GB, free: 13.6 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.059/4.321, allocations: 0.9942 GB / 2.615 GB, free: 23.58 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.432e-06/4.321, allocations: 0 / 2.615 GB, free: 23.58 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003833/4.321, allocations: 79.92 kB / 2.615 GB, free: 23.5 MB / 1.151 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.006114/4.327, allocations: 2.7 MB / 2.618 GB, free: 20.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/4.327, allocations: 12.02 kB / 2.618 GB, free: 20.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/4.329, allocations: 364 kB / 2.618 GB, free: 20.37 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/4.335, allocations: 3.095 MB / 2.621 GB, free: 17.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/4.335, allocations: 72 kB / 2.621 GB, free: 17.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005653/4.336, allocations: 147.9 kB / 2.622 GB, free: 17.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00391/4.339, allocations: 2.207 MB / 2.624 GB, free: 14.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/4.343, allocations: 2.652 MB / 2.626 GB, free: 12.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/4.343, allocations: 11.89 kB / 2.626 GB, free: 12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/4.344, allocations: 4 kB / 2.626 GB, free: 11.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/4.344, allocations: 67.98 kB / 2.626 GB, free: 11.93 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.6208/4.965, allocations: 12.57 MB / 2.639 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/4.967, allocations: 1.563 MB / 2.64 GB, free: 271.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/4.969, allocations: 1.095 MB / 2.641 GB, free: 271.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/4.969, allocations: 0.7093 MB / 2.642 GB, free: 270.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/4.97, allocations: 50.42 kB / 2.642 GB, free: 270.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001747/4.971, allocations: 201.5 kB / 2.642 GB, free: 270.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 4.168e-06/4.971, allocations: 0 / 2.642 GB, free: 270.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.003093/4.974, allocations: 1.643 MB / 2.644 GB, free: 270.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/4.974, allocations: 146.6 kB / 2.644 GB, free: 270.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/4.977, allocations: 1.756 MB / 2.646 GB, free: 269.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/4.977, allocations: 29.17 kB / 2.646 GB, free: 269.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/4.979, allocations: 1.261 MB / 2.647 GB, free: 269.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/4.979, allocations: 428.6 kB / 2.647 GB, free: 269.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/4.979, allocations: 1.312 kB / 2.647 GB, free: 269.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001047/4.979, allocations: 374.3 kB / 2.648 GB, free: 269 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/4.98, allocations: 0.6568 MB / 2.648 GB, free: 269 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/4.981, allocations: 1.172 MB / 2.649 GB, free: 268.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/4.983, allocations: 0.9135 MB / 2.65 GB, free: 268.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/4.983, allocations: 7.031 kB / 2.65 GB, free: 268.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003777/4.987, allocations: 2.168 MB / 2.652 GB, free: 268.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008616/4.987, allocations: 5.705 MB / 2.658 GB, free: 262.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/4.988, allocations: 14.53 kB / 2.658 GB, free: 262.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/4.989, allocations: 428.7 kB / 2.658 GB, free: 262.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/4.991, allocations: 359 kB / 2.659 GB, free: 262.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/4.994, allocations: 2.991 MB / 2.662 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/4.996, allocations: 191.8 kB / 2.662 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/4.996, allocations: 83.25 kB / 2.662 GB, free: 260.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/4.996, allocations: 4.5 kB / 2.662 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003647/5, allocations: 1.908 MB / 2.664 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/5, allocations: 19.09 kB / 2.664 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/5, allocations: 212.8 kB / 2.664 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/5.002, allocations: 380.4 kB / 2.664 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/5.005, allocations: 3.757 MB / 2.668 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/5.008, allocations: 186.6 kB / 2.668 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/5.008, allocations: 80.73 kB / 2.668 GB, free: 257.8 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000716/5.009, allocations: 151.4 kB / 2.668 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008249/5.01, allocations: 200.5 kB / 2.669 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/5.014, allocations: 1.87 MB / 2.67 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/5.014, allocations: 14.92 kB / 2.671 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/5.014, allocations: 3.875 kB / 2.671 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002003/5.016, allocations: 1.502 MB / 2.672 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008819/5.025, allocations: 4.149 MB / 2.676 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/5.025, allocations: 1.969 kB / 2.676 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/5.026, allocations: 215.8 kB / 2.676 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/5.027, allocations: 397.6 kB / 2.677 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/5.027, allocations: 20.77 kB / 2.677 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/5.03, allocations: 2.929 MB / 2.68 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.03, allocations: 1.031 kB / 2.68 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/5.035, allocations: 2.864 MB / 2.682 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/5.036, allocations: 0.5278 MB / 2.683 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/5.037, allocations: 10.56 kB / 2.683 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/5.039, allocations: 162.2 kB / 2.683 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/5.039, allocations: 106.7 kB / 2.683 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/5.039, allocations: 59.17 kB / 2.683 GB, free: 254.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002504/5.042, allocations: 1.339 MB / 2.684 GB, free: 254.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.042, allocations: 0 / 2.684 GB, free: 254.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006302/5.048, allocations: 1.454 MB / 2.686 GB, free: 254.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/5.049, allocations: 0.5583 MB / 2.686 GB, free: 254 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005303/5.055, allocations: 3.095 MB / 2.689 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/5.055, allocations: 3.672 kB / 2.689 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/5.056, allocations: 0.9284 MB / 2.69 GB, free: 253.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/5.062, allocations: 1.067 MB / 2.691 GB, free: 253.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/5.071, allocations: 4.242 MB / 2.696 GB, free: 252.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/5.073, allocations: 2.217 MB / 2.698 GB, free: 251.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005185/5.078, allocations: 1.424 MB / 2.699 GB, free: 251.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/5.079, allocations: 139.7 kB / 2.699 GB, free: 251.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.823e-06/5.079, allocations: 0 / 2.699 GB, free: 251.8 MB / 1.151 GB Notification: Performance of Templates: time 0.06555/5.144, allocations: 45.35 MB / 2.744 GB, free: 250.4 MB / 1.151 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