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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001115/0.001114, allocations: 181.2 kB / 498.1 MB, free: 5.652 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.618/1.618, allocations: 223.1 MB / 0.7948 GB, free: 18.86 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.001064/0.001063, allocations: 103 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 9.344 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.548, allocations: 425.7 MB / 1.639 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.548, allocations: 98.56 kB / 1.639 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.302/4.85, allocations: 1.002 GB / 2.64 GB, free: 71.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/4.85, allocations: 4 kB / 2.64 GB, free: 71.49 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004733/4.851, allocations: 71.98 kB / 2.64 GB, free: 71.42 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.01007/4.861, allocations: 3.199 MB / 2.644 GB, free: 68.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/4.861, allocations: 8.031 kB / 2.644 GB, free: 68.15 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001181/4.862, allocations: 344.8 kB / 2.644 GB, free: 67.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/4.863, allocations: 360 kB / 2.644 GB, free: 67.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/4.869, allocations: 3.118 MB / 2.647 GB, free: 64.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.573e-05/4.869, allocations: 180.6 kB / 2.647 GB, free: 64.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/4.869, allocations: 239.9 kB / 2.648 GB, free: 63.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/4.874, allocations: 3.02 MB / 2.651 GB, free: 60.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/4.874, allocations: 7.938 kB / 2.651 GB, free: 60.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/4.874, allocations: 103.9 kB / 2.651 GB, free: 60.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/4.874, allocations: 71.98 kB / 2.651 GB, free: 60.52 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/4.877, allocations: 2.383 MB / 2.653 GB, free: 58.12 MB / 1.151 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.0139/4.891, allocations: 12.98 MB / 2.666 GB, free: 44.24 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/4.893, allocations: 1.647 MB / 2.667 GB, free: 42.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/4.894, allocations: 0.7166 MB / 2.668 GB, free: 41.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/4.894, allocations: 47.56 kB / 2.668 GB, free: 41.65 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00152/4.895, allocations: 235.8 kB / 2.668 GB, free: 41.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 4.017e-06/4.895, allocations: 0 / 2.668 GB, free: 41.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.008258/4.904, allocations: 3.45 MB / 2.672 GB, free: 37.92 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/4.904, allocations: 145.5 kB / 2.672 GB, free: 37.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/4.906, allocations: 1.911 MB / 2.674 GB, free: 35.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/4.906, allocations: 53.7 kB / 2.674 GB, free: 35.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/4.907, allocations: 1.266 MB / 2.675 GB, free: 34.46 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/4.908, allocations: 449.8 kB / 2.675 GB, free: 34.02 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/4.908, allocations: 32 kB / 2.676 GB, free: 33.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001112/4.908, allocations: 369.9 kB / 2.676 GB, free: 33.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/4.909, allocations: 0.7105 MB / 2.677 GB, free: 32.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/4.91, allocations: 1.233 MB / 2.678 GB, free: 31.46 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/4.911, allocations: 0.9393 MB / 2.679 GB, free: 30.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/4.911, allocations: 4 kB / 2.679 GB, free: 30.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002965/4.914, allocations: 2.362 MB / 2.681 GB, free: 28.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/4.915, allocations: 5.719 MB / 2.687 GB, free: 21.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/4.915, allocations: 16 kB / 2.687 GB, free: 21.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/4.917, allocations: 482.5 kB / 2.687 GB, free: 21.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/4.918, allocations: 355.4 kB / 2.687 GB, free: 21.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/4.921, allocations: 3.131 MB / 2.69 GB, free: 17.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/4.923, allocations: 235.4 kB / 2.691 GB, free: 17.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/4.923, allocations: 79.97 kB / 2.691 GB, free: 17.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/4.923, allocations: 4 kB / 2.691 GB, free: 17.51 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/4.926, allocations: 2.136 MB / 2.693 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/4.926, allocations: 16 kB / 2.693 GB, free: 15.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/4.926, allocations: 242.2 kB / 2.693 GB, free: 15.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/4.928, allocations: 375.4 kB / 2.693 GB, free: 14.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/4.931, allocations: 4.2 MB / 2.698 GB, free: 10.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/4.933, allocations: 219.7 kB / 2.698 GB, free: 10.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/4.933, allocations: 91.97 kB / 2.698 GB, free: 9.973 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 () * 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.001972/4.935, allocations: 1.008 MB / 2.699 GB, free: 8.953 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/4.935, allocations: 209.4 kB / 2.699 GB, free: 8.746 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/4.938, allocations: 2.011 MB / 2.701 GB, free: 6.715 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/4.938, allocations: 24 kB / 2.701 GB, free: 6.691 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/4.938, allocations: 0 / 2.701 GB, free: 6.691 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/4.94, allocations: 1.613 MB / 2.703 GB, free: 5.062 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/4.947, allocations: 4.583 MB / 2.707 GB, free: 400 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/4.947, allocations: 0 / 2.707 GB, free: 400 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/4.948, allocations: 207.7 kB / 2.707 GB, free: 192 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/4.95, allocations: 440.2 kB / 2.708 GB, free: 15.75 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/4.95, allocations: 35.98 kB / 2.708 GB, free: 15.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/4.953, allocations: 3.045 MB / 2.711 GB, free: 12.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/4.953, allocations: 3.984 kB / 2.711 GB, free: 12.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/4.957, allocations: 2.981 MB / 2.714 GB, free: 9.461 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/4.959, allocations: 0.5294 MB / 2.714 GB, free: 8.91 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/4.959, allocations: 28 kB / 2.714 GB, free: 8.883 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/4.961, allocations: 191.6 kB / 2.714 GB, free: 8.695 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/4.961, allocations: 105 kB / 2.714 GB, free: 8.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/4.961, allocations: 51.97 kB / 2.714 GB, free: 8.539 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002267/4.963, allocations: 1.479 MB / 2.716 GB, free: 7.039 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.963, allocations: 4 kB / 2.716 GB, free: 7.035 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00425/4.968, allocations: 1.523 MB / 2.717 GB, free: 5.508 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.005687/4.973, allocations: 4.173 MB / 2.722 GB, free: 1.289 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.534/5.507, allocations: 3.311 MB / 2.725 GB, free: 285.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/5.507, allocations: 4.609 kB / 2.725 GB, free: 285.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/5.509, allocations: 0.9816 MB / 2.726 GB, free: 285.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/5.515, allocations: 1.125 MB / 2.727 GB, free: 285.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/5.535, allocations: 17.26 MB / 2.744 GB, free: 273.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/5.538, allocations: 2.212 MB / 2.746 GB, free: 272.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004159/5.542, allocations: 0.9592 MB / 2.747 GB, free: 272.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/5.544, allocations: 1.028 MB / 2.748 GB, free: 272.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.71e-07/5.544, allocations: 0 / 2.748 GB, free: 272.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/5.652, allocations: 69.37 MB / 2.815 GB, free: 270.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/5.652, allocations: 275 kB / 2.816 GB, free: 269.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.017/9.669, allocations: 2.5 kB / 2.816 GB, free: 269.9 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat does not exist to compare? outputFormat=mat