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.308/2.308, allocations: 390.5 MB / 398 MB, free: 10.94 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.001294/0.001294, allocations: 184.8 kB / 491.2 MB, free: 1.555 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.684/1.684, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008868/0.0008868, allocations: 89.28 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.425e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.489, allocations: 425.7 MB / 1.628 GB, free: 5.254 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.489, allocations: 91.12 kB / 1.628 GB, free: 5.207 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.659/5.148, allocations: 0.9942 GB / 2.622 GB, free: 8.566 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.026e-06/5.148, allocations: 0 / 2.622 GB, free: 8.566 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006007/5.149, allocations: 79.92 kB / 2.622 GB, free: 8.488 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.01012/5.159, allocations: 2.704 MB / 2.625 GB, free: 5.727 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/5.159, allocations: 8.031 kB / 2.625 GB, free: 5.719 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/5.162, allocations: 356 kB / 2.625 GB, free: 5.367 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/5.169, allocations: 3.099 MB / 2.628 GB, free: 2.215 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/5.17, allocations: 72 kB / 2.629 GB, free: 2.145 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007806/5.17, allocations: 143.9 kB / 2.629 GB, free: 2.004 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8806/6.051, allocations: 2.202 MB / 2.631 GB, free: 269 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008402/6.06, allocations: 2.651 MB / 2.633 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.231e-05/6.06, allocations: 9.375 kB / 2.633 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/6.06, allocations: 3.859 kB / 2.633 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/6.06, allocations: 72.27 kB / 2.633 GB, free: 268.6 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.0213/6.081, allocations: 12.58 MB / 2.646 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/6.084, allocations: 1.564 MB / 2.647 GB, free: 262.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/6.086, allocations: 1.095 MB / 2.648 GB, free: 262.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008001/6.087, allocations: 0.7136 MB / 2.649 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/6.087, allocations: 53.38 kB / 2.649 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002179/6.089, allocations: 200.5 kB / 2.649 GB, free: 261.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 4.168e-06/6.089, allocations: 0 / 2.649 GB, free: 261.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.003836/6.093, allocations: 1.641 MB / 2.651 GB, free: 261.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/6.093, allocations: 143.4 kB / 2.651 GB, free: 261.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/6.097, allocations: 1.755 MB / 2.653 GB, free: 261.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002934/6.097, allocations: 32.03 kB / 2.653 GB, free: 261.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001522/6.099, allocations: 1.264 MB / 2.654 GB, free: 260.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/6.099, allocations: 424.7 kB / 2.654 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/6.099, allocations: 0 / 2.654 GB, free: 260.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001442/6.099, allocations: 372.1 kB / 2.655 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/6.101, allocations: 0.6572 MB / 2.655 GB, free: 260.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/6.102, allocations: 1.175 MB / 2.657 GB, free: 259.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/6.104, allocations: 0.9109 MB / 2.657 GB, free: 259.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/6.104, allocations: 8.281 kB / 2.657 GB, free: 259.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004669/6.108, allocations: 2.167 MB / 2.66 GB, free: 259.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001253/6.11, allocations: 5.7 MB / 2.665 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/6.11, allocations: 14.16 kB / 2.665 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/6.112, allocations: 430.8 kB / 2.666 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/6.113, allocations: 365.1 kB / 2.666 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/6.117, allocations: 2.992 MB / 2.669 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/6.12, allocations: 189.8 kB / 2.669 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002688/6.121, allocations: 84.5 kB / 2.669 GB, free: 251.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/6.121, allocations: 4.406 kB / 2.669 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004798/6.125, allocations: 1.913 MB / 2.671 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/6.125, allocations: 14.47 kB / 2.671 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/6.126, allocations: 206.1 kB / 2.671 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/6.128, allocations: 384.2 kB / 2.672 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/6.132, allocations: 3.751 MB / 2.675 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/6.135, allocations: 191.8 kB / 2.675 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/6.135, allocations: 82.78 kB / 2.675 GB, free: 248.9 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.0005995/6.136, allocations: 158.3 kB / 2.676 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/6.136, allocations: 200.3 kB / 2.676 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/6.14, allocations: 1.859 MB / 2.678 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/6.14, allocations: 13.98 kB / 2.678 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/6.14, allocations: 7.234 kB / 2.678 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/6.143, allocations: 1.497 MB / 2.679 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/6.152, allocations: 4.154 MB / 2.683 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/6.152, allocations: 1.219 kB / 2.683 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009769/6.153, allocations: 222.2 kB / 2.683 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/6.154, allocations: 400.6 kB / 2.684 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/6.154, allocations: 23.22 kB / 2.684 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/6.157, allocations: 2.929 MB / 2.687 GB, free: 246.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/6.157, allocations: 3.969 kB / 2.687 GB, free: 246.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/6.161, allocations: 2.855 MB / 2.689 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/6.163, allocations: 0.5271 MB / 2.69 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/6.163, allocations: 12.2 kB / 2.69 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/6.165, allocations: 161.9 kB / 2.69 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/6.165, allocations: 105.1 kB / 2.69 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/6.165, allocations: 58.41 kB / 2.69 GB, free: 245.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001974/6.167, allocations: 1.333 MB / 2.692 GB, free: 245.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.167, allocations: 0 / 2.692 GB, free: 245.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005632/6.173, allocations: 1.459 MB / 2.693 GB, free: 245.3 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.001197/6.174, allocations: 0.5587 MB / 2.694 GB, free: 245.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004778/6.179, allocations: 3.105 MB / 2.697 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/6.179, allocations: 0 / 2.697 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/6.18, allocations: 0.9165 MB / 2.697 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/6.186, allocations: 1.079 MB / 2.699 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/6.193, allocations: 4.244 MB / 2.703 GB, free: 243.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/6.195, allocations: 2.216 MB / 2.705 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004338/6.199, allocations: 1.416 MB / 2.706 GB, free: 243 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/6.2, allocations: 147.4 kB / 2.706 GB, free: 243 MB / 1.151 GB Notification: Performance of SimCode: time 1.263e-06/6.2, allocations: 0 / 2.706 GB, free: 243 MB / 1.151 GB Notification: Performance of Templates: time 0.0737/6.274, allocations: 45.35 MB / 2.751 GB, free: 241.5 MB / 1.151 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