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.142/2.142, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.0009624/0.0009624, allocations: 168.9 kB / 492.3 MB, free: 0.6328 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.436/1.436, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008426/0.0008425, allocations: 83.92 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.299e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2486, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.441, allocations: 416.6 MB / 1.619 GB, free: 13.86 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/1.441, allocations: 86.58 kB / 1.619 GB, free: 13.82 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.149/9.591, allocations: 2.137 GB / 3.756 GB, free: 213.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.455e-06/9.591, allocations: 0 / 3.756 GB, free: 213.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001158/9.592, allocations: 187 kB / 3.756 GB, free: 213.5 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01714/9.609, allocations: 5.527 MB / 3.762 GB, free: 208 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/9.609, allocations: 8.031 kB / 3.762 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00332/9.612, allocations: 0.7695 MB / 3.762 GB, free: 207.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/9.617, allocations: 0.7843 MB / 3.763 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/9.634, allocations: 7.468 MB / 3.77 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/9.634, allocations: 414.5 kB / 3.771 GB, free: 198.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/9.636, allocations: 0.5425 MB / 3.771 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/9.653, allocations: 7.399 MB / 3.778 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/9.653, allocations: 23.73 kB / 3.779 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006599/9.654, allocations: 239 kB / 3.779 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/9.654, allocations: 226.4 kB / 3.779 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009875/9.664, allocations: 5.85 MB / 3.785 GB, free: 184.1 MB / 1.167 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.03894/9.703, allocations: 29.68 MB / 3.814 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/9.707, allocations: 3.538 MB / 3.817 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/9.711, allocations: 2.99 MB / 3.82 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/9.711, allocations: 0.8243 MB / 3.821 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/9.711, allocations: 72.67 kB / 3.821 GB, free: 145.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.047e-06/9.711, allocations: 0 / 3.821 GB, free: 145.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.005555/9.717, allocations: 3.65 MB / 3.824 GB, free: 142 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/9.717, allocations: 81.52 kB / 3.825 GB, free: 142 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006933/9.724, allocations: 4.838 MB / 3.829 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006898/9.725, allocations: 83.67 kB / 3.829 GB, free: 137 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001754/9.726, allocations: 2.845 MB / 3.832 GB, free: 134.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/9.728, allocations: 0.944 MB / 3.833 GB, free: 133.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/9.728, allocations: 72 kB / 3.833 GB, free: 133.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001657/9.728, allocations: 465.9 kB / 3.834 GB, free: 132.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/9.73, allocations: 1.612 MB / 3.835 GB, free: 131.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/9.732, allocations: 2.857 MB / 3.838 GB, free: 127.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/9.735, allocations: 2.235 MB / 3.84 GB, free: 125.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/9.735, allocations: 12 kB / 3.84 GB, free: 125.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007498/9.742, allocations: 5.297 MB / 3.845 GB, free: 120.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/9.742, allocations: 27.94 kB / 3.845 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/9.742, allocations: 36 kB / 3.845 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/9.743, allocations: 427.3 kB / 3.846 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/9.746, allocations: 0.858 MB / 3.847 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/9.75, allocations: 5.312 MB / 3.852 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/9.756, allocations: 0.6587 MB / 3.852 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006017/9.756, allocations: 184 kB / 3.853 GB, free: 112.3 MB / 1.167 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.0007612/9.757, allocations: 344.3 kB / 3.853 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/9.758, allocations: 490.1 kB / 3.853 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005954/9.764, allocations: 4.084 MB / 3.857 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/9.764, allocations: 28 kB / 3.857 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/9.764, allocations: 7.953 kB / 3.857 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/9.768, allocations: 3.522 MB / 3.861 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/9.785, allocations: 10.2 MB / 3.871 GB, free: 93.33 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/9.785, allocations: 4 kB / 3.871 GB, free: 93.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/9.787, allocations: 0.4998 MB / 3.871 GB, free: 92.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006806/9.788, allocations: 372.2 kB / 3.872 GB, free: 92.46 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/9.788, allocations: 79.95 kB / 3.872 GB, free: 92.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/9.792, allocations: 5.24 MB / 3.877 GB, free: 86.89 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/9.792, allocations: 19.88 kB / 3.877 GB, free: 86.87 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007872/9.8, allocations: 6.757 MB / 3.883 GB, free: 79.82 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003403/9.804, allocations: 1.209 MB / 3.885 GB, free: 78.59 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/9.805, allocations: 67.98 kB / 3.885 GB, free: 78.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/9.808, allocations: 295.2 kB / 3.885 GB, free: 78.23 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/9.808, allocations: 177.6 kB / 3.885 GB, free: 78.06 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/9.809, allocations: 131.9 kB / 3.885 GB, free: 77.93 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005425/9.814, allocations: 3.931 MB / 3.889 GB, free: 74.01 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/9.814, allocations: 0 / 3.889 GB, free: 74.01 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00606/9.82, allocations: 1.847 MB / 3.891 GB, free: 72.16 MB / 1.167 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.008724/9.829, allocations: 8.782 MB / 3.9 GB, free: 63.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005429/9.834, allocations: 4.144 MB / 3.904 GB, free: 58.99 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/9.834, allocations: 4 kB / 3.904 GB, free: 58.99 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/9.837, allocations: 1.994 MB / 3.906 GB, free: 56.97 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/9.852, allocations: 3.233 MB / 3.909 GB, free: 53.82 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/9.88, allocations: 12.53 MB / 3.921 GB, free: 41.17 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005387/9.886, allocations: 4.42 MB / 3.925 GB, free: 36.72 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007426/9.893, allocations: 1.863 MB / 3.927 GB, free: 34.85 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004149/9.897, allocations: 2.463 MB / 3.929 GB, free: 32.39 MB / 1.167 GB Notification: Performance of SimCode: time 1.452e-06/9.897, allocations: 0 / 3.929 GB, free: 32.39 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9642/10.86, allocations: 166.2 MB / 4.092 GB, free: 240.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/10.86, allocations: 219.9 kB / 4.092 GB, free: 240.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/18.05, allocations: 3.812 kB / 4.092 GB, free: 240.6 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