Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001095/0.001095, allocations: 184.8 kB / 487.4 MB, free: 5.012 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.644/1.644, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 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.0008932/0.000893, allocations: 95.89 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.998e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.364, allocations: 415.9 MB / 1.612 GB, free: 6.195 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.364, allocations: 90.69 kB / 1.612 GB, free: 6.148 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 8.127/9.491, allocations: 2.126 GB / 3.738 GB, free: 214.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.126e-06/9.491, allocations: 0 / 3.738 GB, free: 214.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001131/9.492, allocations: 176.6 kB / 3.738 GB, free: 214.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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01738/9.51, allocations: 5.541 MB / 3.743 GB, free: 208.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/9.51, allocations: 12.03 kB / 3.743 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/9.516, allocations: 0.7727 MB / 3.744 GB, free: 208.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/9.536, allocations: 7.483 MB / 3.752 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/9.536, allocations: 182.9 kB / 3.752 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/9.539, allocations: 323.9 kB / 3.752 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01666/9.556, allocations: 5.492 MB / 3.757 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/9.58, allocations: 6.607 MB / 3.764 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/9.581, allocations: 31.75 kB / 3.764 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002231/9.583, allocations: 12 kB / 3.764 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/9.583, allocations: 218.4 kB / 3.764 GB, free: 187.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.05443/9.638, allocations: 28.58 MB / 3.792 GB, free: 158 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005753/9.643, allocations: 3.389 MB / 3.795 GB, free: 154.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004243/9.648, allocations: 2.641 MB / 3.798 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/9.649, allocations: 0.8273 MB / 3.799 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/9.649, allocations: 72.67 kB / 3.799 GB, free: 150.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 7.033e-06/9.649, allocations: 0 / 3.799 GB, free: 150.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.00936/9.658, allocations: 3.534 MB / 3.802 GB, free: 147.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/9.658, allocations: 81.52 kB / 3.802 GB, free: 147.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/9.669, allocations: 3.973 MB / 3.806 GB, free: 143.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008893/9.669, allocations: 29.7 kB / 3.806 GB, free: 143.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002775/9.672, allocations: 2.851 MB / 3.809 GB, free: 140.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/9.674, allocations: 0.9048 MB / 3.81 GB, free: 139.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/9.674, allocations: 0 / 3.81 GB, free: 139.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003422/9.675, allocations: 457.9 kB / 3.81 GB, free: 139 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/9.677, allocations: 1.534 MB / 3.812 GB, free: 137.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/9.68, allocations: 2.775 MB / 3.815 GB, free: 134.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/9.684, allocations: 2.23 MB / 3.817 GB, free: 131.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/9.684, allocations: 12 kB / 3.817 GB, free: 131.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009348/9.694, allocations: 4.927 MB / 3.822 GB, free: 126.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/9.694, allocations: 24.25 kB / 3.822 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-05/9.694, allocations: 40 kB / 3.822 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008725/9.695, allocations: 411.5 kB / 3.822 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/9.698, allocations: 0.8658 MB / 3.823 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/9.703, allocations: 5.146 MB / 3.828 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/9.708, allocations: 0.523 MB / 3.828 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/9.709, allocations: 180 kB / 3.829 GB, free: 119.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001316/9.711, allocations: 227.6 kB / 3.829 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007271/9.718, allocations: 3.534 MB / 3.832 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/9.72, allocations: 430.8 kB / 3.833 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/9.727, allocations: 3.876 MB / 3.836 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/9.727, allocations: 24 kB / 3.836 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/9.727, allocations: 4 kB / 3.836 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004378/9.731, allocations: 3.459 MB / 3.84 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/9.749, allocations: 9.362 MB / 3.849 GB, free: 98.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/9.749, allocations: 4.062 kB / 3.849 GB, free: 98.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/9.751, allocations: 0.4993 MB / 3.849 GB, free: 97.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007462/9.752, allocations: 357.4 kB / 3.85 GB, free: 97.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/9.752, allocations: 50.77 kB / 3.85 GB, free: 97.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004552/9.756, allocations: 5.089 MB / 3.855 GB, free: 91.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/9.757, allocations: 7.984 kB / 3.855 GB, free: 91.97 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009064/9.766, allocations: 6.429 MB / 3.861 GB, free: 85.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/9.769, allocations: 1.124 MB / 3.862 GB, free: 84.04 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/9.77, allocations: 19.98 kB / 3.862 GB, free: 84.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003969/9.774, allocations: 254 kB / 3.862 GB, free: 83.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/9.775, allocations: 181.5 kB / 3.863 GB, free: 83.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/9.775, allocations: 123.9 kB / 3.863 GB, free: 83.48 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005876/9.781, allocations: 3.034 MB / 3.866 GB, free: 80.44 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/9.781, allocations: 0 / 3.866 GB, free: 80.44 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008696/9.79, allocations: 1.846 MB / 3.867 GB, free: 78.59 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/9.801, allocations: 8.546 MB / 3.876 GB, free: 69.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005406/9.806, allocations: 3.928 MB / 3.88 GB, free: 65.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/9.806, allocations: 4.438 kB / 3.88 GB, free: 65.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/9.809, allocations: 1.907 MB / 3.882 GB, free: 63.98 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/9.822, allocations: 2.376 MB / 3.884 GB, free: 61.71 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/9.852, allocations: 12.06 MB / 3.896 GB, free: 49.62 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004838/9.856, allocations: 4.409 MB / 3.9 GB, free: 45.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00656/9.863, allocations: 1.683 MB / 3.902 GB, free: 43.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005549/9.869, allocations: 2.424 MB / 3.904 GB, free: 41.14 MB / 1.151 GB Notification: Performance of SimCode: time 1.503e-06/9.869, allocations: 0 / 3.904 GB, free: 41.14 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9348/10.8, allocations: 131.4 MB / 4.032 GB, free: 225 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/10.8, allocations: 185.7 kB / 4.032 GB, free: 224.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.287/17.09, allocations: 0 / 4.032 GB, free: 224.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat