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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.433/2.433, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001481/0.00148, allocations: 183.9 kB / 0.4901 GB, free: 2.227 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.000933/0.0009327, allocations: 96.14 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003886, allocations: 10.66 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.306, allocations: 426.5 MB / 1.646 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.306, allocations: 95.02 kB / 1.646 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.14/4.446, allocations: 1.002 GB / 2.648 GB, free: 121.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.936e-06/4.446, allocations: 0 / 2.648 GB, free: 121.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006267/4.447, allocations: 83.92 kB / 2.648 GB, free: 121 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.01424/4.461, allocations: 3.183 MB / 2.651 GB, free: 117.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/4.461, allocations: 12.03 kB / 2.651 GB, free: 117.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002035/4.464, allocations: 336.9 kB / 2.651 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/4.467, allocations: 363.9 kB / 2.651 GB, free: 117 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00919/4.476, allocations: 3.122 MB / 2.654 GB, free: 113.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/4.476, allocations: 188.6 kB / 2.655 GB, free: 113.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/4.477, allocations: 236 kB / 2.655 GB, free: 113.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006075/4.483, allocations: 3.02 MB / 2.658 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/4.483, allocations: 11.84 kB / 2.658 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/4.484, allocations: 95.98 kB / 2.658 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-05/4.484, allocations: 75.94 kB / 2.658 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/4.487, allocations: 2.383 MB / 2.66 GB, free: 107.7 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.01609/4.504, allocations: 12.99 MB / 2.673 GB, free: 93.81 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/4.506, allocations: 1.648 MB / 2.675 GB, free: 92.13 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/4.506, allocations: 0.7127 MB / 2.675 GB, free: 91.27 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/4.506, allocations: 47.56 kB / 2.675 GB, free: 91.21 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001823/4.508, allocations: 231.2 kB / 2.676 GB, free: 90.99 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.869e-06/4.508, allocations: 0 / 2.676 GB, free: 90.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=126): time 0.008754/4.517, allocations: 3.443 MB / 2.679 GB, free: 87.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/4.517, allocations: 149.5 kB / 2.679 GB, free: 87.32 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/4.52, allocations: 1.911 MB / 2.681 GB, free: 85.38 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/4.52, allocations: 61.64 kB / 2.681 GB, free: 85.31 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/4.521, allocations: 1.262 MB / 2.682 GB, free: 84.03 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/4.521, allocations: 453.5 kB / 2.683 GB, free: 83.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/4.521, allocations: 32 kB / 2.683 GB, free: 83.55 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/4.521, allocations: 374 kB / 2.683 GB, free: 83.18 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/4.522, allocations: 0.7066 MB / 2.684 GB, free: 82.47 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/4.524, allocations: 1.237 MB / 2.685 GB, free: 81.01 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/4.525, allocations: 0.9353 MB / 2.686 GB, free: 80.07 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/4.525, allocations: 4 kB / 2.686 GB, free: 80.07 MB / 1.167 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003478/4.528, allocations: 2.355 MB / 2.688 GB, free: 77.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/4.529, allocations: 5.717 MB / 2.694 GB, free: 71.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/4.53, allocations: 16 kB / 2.694 GB, free: 71.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/4.531, allocations: 486.2 kB / 2.694 GB, free: 71.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/4.533, allocations: 351.4 kB / 2.695 GB, free: 70.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/4.535, allocations: 3.135 MB / 2.698 GB, free: 67.38 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/4.538, allocations: 239.4 kB / 2.698 GB, free: 67.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/4.538, allocations: 79.97 kB / 2.698 GB, free: 67.07 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/4.538, allocations: 4 kB / 2.698 GB, free: 67.07 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00288/4.541, allocations: 2.137 MB / 2.7 GB, free: 64.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/4.541, allocations: 16 kB / 2.7 GB, free: 64.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005266/4.542, allocations: 241.5 kB / 2.7 GB, free: 64.66 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/4.543, allocations: 371.4 kB / 2.701 GB, free: 64.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/4.546, allocations: 4.212 MB / 2.705 GB, free: 59.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/4.549, allocations: 207.6 kB / 2.705 GB, free: 59.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/4.549, allocations: 88.22 kB / 2.705 GB, free: 59.54 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.002189/4.551, allocations: 1.012 MB / 2.706 GB, free: 58.51 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/4.552, allocations: 213.4 kB / 2.706 GB, free: 58.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/4.555, allocations: 2.015 MB / 2.708 GB, free: 56.27 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/4.555, allocations: 16 kB / 2.708 GB, free: 56.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/4.555, allocations: 4 kB / 2.708 GB, free: 56.25 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/4.557, allocations: 1.605 MB / 2.71 GB, free: 54.62 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008242/4.566, allocations: 4.595 MB / 2.714 GB, free: 49.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/4.566, allocations: 3.953 kB / 2.714 GB, free: 49.94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/4.567, allocations: 211.8 kB / 2.714 GB, free: 49.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/4.568, allocations: 437.1 kB / 2.715 GB, free: 49.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/4.568, allocations: 35.98 kB / 2.715 GB, free: 49.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/4.571, allocations: 3.041 MB / 2.718 GB, free: 46.06 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/4.571, allocations: 7.922 kB / 2.718 GB, free: 46.05 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/4.575, allocations: 2.966 MB / 2.721 GB, free: 43.02 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/4.577, allocations: 0.5179 MB / 2.721 GB, free: 42.48 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/4.577, allocations: 32 kB / 2.721 GB, free: 42.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/4.579, allocations: 199.5 kB / 2.721 GB, free: 42.26 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/4.579, allocations: 109.1 kB / 2.722 GB, free: 42.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/4.579, allocations: 55.95 kB / 2.722 GB, free: 42.09 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002125/4.581, allocations: 1.475 MB / 2.723 GB, free: 40.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/4.581, allocations: 0 / 2.723 GB, free: 40.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005217/4.587, allocations: 1.519 MB / 2.725 GB, free: 39.07 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.005151/4.592, allocations: 4.19 MB / 2.729 GB, free: 34.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005011/4.597, allocations: 3.302 MB / 2.732 GB, free: 31.51 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/4.597, allocations: 3.906 kB / 2.732 GB, free: 31.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/4.598, allocations: 0.9942 MB / 2.733 GB, free: 30.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/4.604, allocations: 1.122 MB / 2.734 GB, free: 29.39 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/4.618, allocations: 17.26 MB / 2.751 GB, free: 11.74 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/4.619, allocations: 2.215 MB / 2.753 GB, free: 9.496 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003255/4.623, allocations: 0.9538 MB / 2.754 GB, free: 8.539 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/4.624, allocations: 1.03 MB / 2.755 GB, free: 7.508 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/4.624, allocations: 4 kB / 2.755 GB, free: 7.504 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7473/5.371, allocations: 69.36 MB / 2.823 GB, free: 280.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/5.372, allocations: 273.9 kB / 2.823 GB, free: 280 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.875/10.25, allocations: 0 / 2.823 GB, free: 280 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat does not exist to compare? outputFormat=mat