Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.295/2.295, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001028/0.001028, allocations: 187.6 kB / 0.4901 GB, free: 2.113 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.481/1.481, 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.0009625/0.0009625, allocations: 104.7 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 10.5 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2661, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.258, allocations: 417.4 MB / 1.637 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.258, allocations: 90.95 kB / 1.637 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.37/9.628, allocations: 2.142 GB / 3.779 GB, free: 216.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.184e-06/9.628, allocations: 0 / 3.779 GB, free: 216.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001093/9.629, allocations: 186.6 kB / 3.779 GB, free: 216.7 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.02362/9.653, allocations: 6.572 MB / 3.785 GB, free: 214.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/9.653, allocations: 9.531 kB / 3.785 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003681/9.657, allocations: 0.771 MB / 3.786 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/9.662, allocations: 0.784 MB / 3.787 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/9.682, allocations: 7.517 MB / 3.794 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/9.682, allocations: 413.5 kB / 3.795 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002233/9.684, allocations: 0.5416 MB / 3.795 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/9.702, allocations: 7.501 MB / 3.802 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/9.702, allocations: 17.34 kB / 3.802 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000872/9.703, allocations: 232.9 kB / 3.803 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/9.703, allocations: 218.8 kB / 3.803 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/9.717, allocations: 5.975 MB / 3.809 GB, free: 212.5 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.04701/9.764, allocations: 29.69 MB / 3.838 GB, free: 199.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/9.769, allocations: 3.584 MB / 3.841 GB, free: 199.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/9.769, allocations: 0.83 MB / 3.842 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/9.77, allocations: 71.52 kB / 3.842 GB, free: 198.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.97e-06/9.77, allocations: 3.281 kB / 3.842 GB, free: 198.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01013/9.78, allocations: 5.744 MB / 3.848 GB, free: 197.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/9.78, allocations: 81.77 kB / 3.848 GB, free: 197.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008546/9.788, allocations: 4.89 MB / 3.853 GB, free: 195.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009063/9.789, allocations: 81.14 kB / 3.853 GB, free: 195.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/9.791, allocations: 2.841 MB / 3.855 GB, free: 193.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/9.793, allocations: 0.9396 MB / 3.856 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/9.793, allocations: 78.09 kB / 3.856 GB, free: 192.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001977/9.793, allocations: 457.7 kB / 3.857 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/9.796, allocations: 1.658 MB / 3.858 GB, free: 191.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/9.798, allocations: 2.916 MB / 3.861 GB, free: 189.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/9.801, allocations: 2.269 MB / 3.863 GB, free: 188.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/9.801, allocations: 17.97 kB / 3.864 GB, free: 188.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008093/9.809, allocations: 5.41 MB / 3.869 GB, free: 186.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/9.809, allocations: 21.84 kB / 3.869 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/9.809, allocations: 38.09 kB / 3.869 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/9.81, allocations: 421.1 kB / 3.869 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/9.813, allocations: 0.8559 MB / 3.87 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/9.818, allocations: 5.426 MB / 3.875 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/9.824, allocations: 0.6718 MB / 3.876 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008497/9.825, allocations: 186.4 kB / 3.876 GB, free: 182.4 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.004772/9.83, allocations: 2.283 MB / 3.878 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/9.831, allocations: 491.5 kB / 3.879 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/9.838, allocations: 4.168 MB / 3.883 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/9.838, allocations: 27.44 kB / 3.883 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/9.838, allocations: 3.969 kB / 3.883 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004214/9.842, allocations: 3.624 MB / 3.887 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/9.863, allocations: 10.04 MB / 3.896 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/9.863, allocations: 3.969 kB / 3.896 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/9.865, allocations: 0.4942 MB / 3.897 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007885/9.866, allocations: 368.9 kB / 3.897 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/9.866, allocations: 84.14 kB / 3.897 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/9.871, allocations: 5.344 MB / 3.903 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/9.871, allocations: 11.25 kB / 3.903 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009028/9.88, allocations: 6.892 MB / 3.909 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004483/9.884, allocations: 1.208 MB / 3.91 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/9.886, allocations: 65.92 kB / 3.91 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004597/9.891, allocations: 308.1 kB / 3.911 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/9.891, allocations: 173.1 kB / 3.911 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004229/9.891, allocations: 136.7 kB / 3.911 GB, free: 165.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008325/9.9, allocations: 3.984 MB / 3.915 GB, free: 164.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.12e-07/9.9, allocations: 0 / 3.915 GB, free: 164.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007835/9.908, allocations: 1.847 MB / 3.917 GB, free: 163.8 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.01235/9.92, allocations: 8.918 MB / 3.925 GB, free: 155.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006944/9.927, allocations: 4.251 MB / 3.93 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/9.927, allocations: 4 kB / 3.93 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/9.93, allocations: 2.042 MB / 3.932 GB, free: 150.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/9.947, allocations: 3.231 MB / 3.935 GB, free: 147.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/10.08, allocations: 73.48 MB / 4.007 GB, free: 71.32 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/10.08, allocations: 4.416 MB / 4.011 GB, free: 66.87 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00704/10.09, allocations: 1.893 MB / 4.013 GB, free: 65.07 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003587/10.09, allocations: 2.456 MB / 4.015 GB, free: 62.61 MB / 1.167 GB Notification: Performance of SimCode: time 1.392e-06/10.09, allocations: 3.656 kB / 4.015 GB, free: 62.61 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9591/11.05, allocations: 165.7 MB / 4.177 GB, free: 180.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/11.05, allocations: 251.5 kB / 4.177 GB, free: 180 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/17.79, allocations: 0 / 4.177 GB, free: 180 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat