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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.696/2.696, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001072/0.001072, allocations: 177 kB / 498.1 MB, free: 5.629 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.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009989/0.0009989, allocations: 115.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 11.03 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.621, allocations: 416.6 MB / 1.63 GB, free: 11.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.622, allocations: 92.27 kB / 1.63 GB, free: 11.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.885/10.51, allocations: 2.142 GB / 3.772 GB, free: 209.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.639e-06/10.51, allocations: 0 / 3.772 GB, free: 209.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002006/10.51, allocations: 181.1 kB / 3.772 GB, free: 209.3 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.0316/10.54, allocations: 6.57 MB / 3.778 GB, free: 207.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/10.54, allocations: 7.906 kB / 3.778 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/10.55, allocations: 0.7823 MB / 3.779 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02522/10.57, allocations: 7.517 MB / 3.786 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000838/10.57, allocations: 417.2 kB / 3.787 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003503/10.58, allocations: 0.5416 MB / 3.787 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0287/10.61, allocations: 7.494 MB / 3.794 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005483/10.61, allocations: 18.34 kB / 3.794 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/10.61, allocations: 241.9 kB / 3.795 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003047/10.61, allocations: 225.3 kB / 3.795 GB, free: 205.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/10.63, allocations: 5.962 MB / 3.801 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.06886/10.7, allocations: 29.71 MB / 3.83 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/10.7, allocations: 3.575 MB / 3.833 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/10.71, allocations: 0.8258 MB / 3.834 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/10.71, allocations: 73.69 kB / 3.834 GB, free: 191.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 6.772e-06/10.71, allocations: 0 / 3.834 GB, free: 191.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01374/10.72, allocations: 5.751 MB / 3.84 GB, free: 191.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/10.72, allocations: 83.31 kB / 3.84 GB, free: 191 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/10.73, allocations: 4.884 MB / 3.845 GB, free: 190.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/10.73, allocations: 78.73 kB / 3.845 GB, free: 190.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002977/10.74, allocations: 2.855 MB / 3.847 GB, free: 189.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/10.74, allocations: 0.9379 MB / 3.848 GB, free: 188.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/10.74, allocations: 70.75 kB / 3.848 GB, free: 188.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002627/10.74, allocations: 462.5 kB / 3.849 GB, free: 188.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/10.74, allocations: 1.66 MB / 3.85 GB, free: 188.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/10.74, allocations: 2.922 MB / 3.853 GB, free: 187.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/10.75, allocations: 2.268 MB / 3.856 GB, free: 187.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/10.75, allocations: 11.62 kB / 3.856 GB, free: 187.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009467/10.76, allocations: 5.406 MB / 3.861 GB, free: 186.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/10.76, allocations: 21.19 kB / 3.861 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-05/10.76, allocations: 39.59 kB / 3.861 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008788/10.76, allocations: 428.7 kB / 3.861 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/10.76, allocations: 0.8562 MB / 3.862 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/10.76, allocations: 5.412 MB / 3.867 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007154/10.77, allocations: 0.6717 MB / 3.868 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/10.77, allocations: 183.6 kB / 3.868 GB, free: 182 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.005895/10.78, allocations: 2.29 MB / 3.871 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/10.78, allocations: 490 kB / 3.871 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/10.79, allocations: 4.173 MB / 3.875 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/10.79, allocations: 25 kB / 3.875 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/10.79, allocations: 11.05 kB / 3.875 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00442/10.79, allocations: 3.614 MB / 3.879 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/10.82, allocations: 10.05 MB / 3.888 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/10.82, allocations: 3.938 kB / 3.888 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/10.82, allocations: 0.4957 MB / 3.889 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/10.82, allocations: 371.6 kB / 3.889 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/10.82, allocations: 82.38 kB / 3.889 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/10.82, allocations: 5.336 MB / 3.895 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/10.82, allocations: 3.781 kB / 3.895 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/10.83, allocations: 6.909 MB / 3.901 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005179/10.84, allocations: 1.209 MB / 3.902 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002468/10.84, allocations: 65.42 kB / 3.903 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005974/10.85, allocations: 309.6 kB / 3.903 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/10.85, allocations: 178 kB / 3.903 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000516/10.85, allocations: 124.6 kB / 3.903 GB, free: 165.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009435/10.86, allocations: 3.985 MB / 3.907 GB, free: 164.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.21e-07/10.86, allocations: 0 / 3.907 GB, free: 164.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01015/10.87, allocations: 1.855 MB / 3.909 GB, free: 163.7 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.002322/10.87, allocations: 0.7415 MB / 3.91 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007249/10.88, allocations: 4.251 MB / 3.914 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/10.88, allocations: 3.938 kB / 3.914 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/10.88, allocations: 2.038 MB / 3.916 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01713/10.9, allocations: 3.23 MB / 3.919 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/10.92, allocations: 14.63 MB / 3.933 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005176/10.93, allocations: 4.418 MB / 3.937 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008224/10.94, allocations: 1.894 MB / 3.939 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/10.94, allocations: 424.3 kB / 3.94 GB, free: 152.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/10.94, allocations: 0 / 3.94 GB, free: 152.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1801/11.12, allocations: 111.8 MB / 4.049 GB, free: 51.97 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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 & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches