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.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001162/0.001163, allocations: 182.7 kB / 498.1 MB, free: 5.746 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.637/1.637, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008318/0.000832, allocations: 100.3 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003819, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3054, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.331, allocations: 416.6 MB / 1.63 GB, free: 11.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.332, allocations: 90.52 kB / 1.63 GB, free: 11.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.254/8.586, allocations: 2.142 GB / 3.772 GB, free: 209.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.685e-06/8.586, allocations: 0 / 3.772 GB, free: 209.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001121/8.587, allocations: 180.2 kB / 3.772 GB, free: 209.4 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.02251/8.61, allocations: 6.576 MB / 3.778 GB, free: 207.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/8.61, allocations: 13.88 kB / 3.778 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003497/8.613, allocations: 0.767 MB / 3.779 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/8.618, allocations: 0.7791 MB / 3.78 GB, free: 207 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/8.635, allocations: 7.521 MB / 3.787 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/8.635, allocations: 422.2 kB / 3.787 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/8.637, allocations: 0.5385 MB / 3.788 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/8.65, allocations: 7.497 MB / 3.795 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/8.65, allocations: 15.72 kB / 3.795 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006517/8.651, allocations: 234.8 kB / 3.796 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/8.651, allocations: 226.1 kB / 3.796 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009646/8.661, allocations: 5.965 MB / 3.802 GB, free: 205.3 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.04459/8.706, allocations: 29.69 MB / 3.831 GB, free: 192.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/8.711, allocations: 3.585 MB / 3.834 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/8.712, allocations: 0.8184 MB / 3.835 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/8.712, allocations: 78.22 kB / 3.835 GB, free: 191.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.33e-06/8.712, allocations: 0 / 3.835 GB, free: 191.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.009652/8.721, allocations: 5.754 MB / 3.841 GB, free: 191.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/8.721, allocations: 80.12 kB / 3.841 GB, free: 191.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008557/8.73, allocations: 4.888 MB / 3.845 GB, free: 190.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/8.731, allocations: 83.36 kB / 3.845 GB, free: 190.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/8.734, allocations: 2.846 MB / 3.848 GB, free: 189.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/8.736, allocations: 0.934 MB / 3.849 GB, free: 189 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/8.736, allocations: 78.09 kB / 3.849 GB, free: 189 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002736/8.736, allocations: 461.2 kB / 3.85 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/8.739, allocations: 1.662 MB / 3.851 GB, free: 188.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/8.742, allocations: 2.918 MB / 3.854 GB, free: 187.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/8.745, allocations: 2.266 MB / 3.856 GB, free: 187.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/8.745, allocations: 11.12 kB / 3.856 GB, free: 187.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008366/8.754, allocations: 5.403 MB / 3.862 GB, free: 186.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/8.754, allocations: 22.59 kB / 3.862 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/8.754, allocations: 38.97 kB / 3.862 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/8.755, allocations: 430.4 kB / 3.862 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/8.758, allocations: 0.8567 MB / 3.863 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/8.762, allocations: 5.416 MB / 3.868 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/8.768, allocations: 0.6713 MB / 3.869 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000666/8.769, allocations: 186.1 kB / 3.869 GB, free: 181.8 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 () * Number of clocked 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.00462/8.773, allocations: 2.29 MB / 3.871 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/8.775, allocations: 486.1 kB / 3.872 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006257/8.781, allocations: 4.171 MB / 3.876 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/8.781, allocations: 37.62 kB / 3.876 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/8.781, allocations: 7.188 kB / 3.876 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004184/8.785, allocations: 3.608 MB / 3.879 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/8.804, allocations: 10.05 MB / 3.889 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/8.804, allocations: 7.766 kB / 3.889 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/8.806, allocations: 0.489 MB / 3.89 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/8.807, allocations: 377.9 kB / 3.89 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/8.807, allocations: 75.25 kB / 3.89 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/8.811, allocations: 5.333 MB / 3.895 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/8.811, allocations: 8.688 kB / 3.895 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008781/8.82, allocations: 6.897 MB / 3.902 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/8.824, allocations: 1.211 MB / 3.903 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/8.825, allocations: 65.42 kB / 3.903 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004221/8.83, allocations: 310.8 kB / 3.904 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/8.83, allocations: 172.4 kB / 3.904 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/8.83, allocations: 133 kB / 3.904 GB, free: 165.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00635/8.837, allocations: 3.986 MB / 3.908 GB, free: 163.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.837, allocations: 0 / 3.908 GB, free: 163.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007457/8.844, allocations: 1.847 MB / 3.91 GB, free: 163.5 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 () * Number of clocked 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.01037/8.855, allocations: 8.923 MB / 3.918 GB, free: 158.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005801/8.86, allocations: 4.248 MB / 3.923 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/8.86, allocations: 0 / 3.923 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/8.863, allocations: 2.051 MB / 3.925 GB, free: 156.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/8.878, allocations: 3.228 MB / 3.928 GB, free: 155.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1109/8.989, allocations: 73.48 MB / 3.999 GB, free: 91.19 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/8.993, allocations: 4.412 MB / 4.004 GB, free: 87.88 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006937/9, allocations: 1.903 MB / 4.006 GB, free: 86.59 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004501/9.005, allocations: 2.457 MB / 4.008 GB, free: 84.32 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/9.005, allocations: 4 kB / 4.008 GB, free: 84.32 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8643/9.869, allocations: 165.7 MB / 4.17 GB, free: 212.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/9.869, allocations: 254.4 kB / 4.17 GB, free: 211.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.54/16.41, allocations: 0 / 4.17 GB, free: 211.7 MB / 1.182 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