Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001134/0.001134, allocations: 181.3 kB / 498.1 MB, free: 5.754 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.449/1.449, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009314/0.0009314, allocations: 104.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004096, allocations: 7.562 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.626, allocations: 419.2 MB / 1.632 GB, free: 9.141 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.627, allocations: 90.95 kB / 1.632 GB, free: 9.094 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.393/11.02, allocations: 2.258 GB / 3.891 GB, free: 231.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.026e-06/11.02, allocations: 0 / 3.891 GB, free: 231.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001572/11.02, allocations: 194.2 kB / 3.891 GB, free: 231.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.0316/11.05, allocations: 7.278 MB / 3.898 GB, free: 224.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/11.05, allocations: 12.03 kB / 3.898 GB, free: 224.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/11.06, allocations: 0.8531 MB / 3.899 GB, free: 223.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/11.09, allocations: 7.952 MB / 3.907 GB, free: 215.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000731/11.09, allocations: 462.8 kB / 3.907 GB, free: 215 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004341/11.09, allocations: 0.5966 MB / 3.908 GB, free: 214.4 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/11.12, allocations: 8.445 MB / 3.916 GB, free: 205.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000609/11.12, allocations: 23.81 kB / 3.916 GB, free: 205.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003648/11.13, allocations: 263.5 kB / 3.916 GB, free: 205.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/11.13, allocations: 243.1 kB / 3.916 GB, free: 205.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/11.15, allocations: 6.896 MB / 3.923 GB, free: 198.2 MB / 1.182 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.07727/11.23, allocations: 34.22 MB / 3.957 GB, free: 162.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/11.23, allocations: 4.264 MB / 3.961 GB, free: 158.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/11.24, allocations: 0.9641 MB / 3.962 GB, free: 157.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003997/11.24, allocations: 2.351 MB / 3.964 GB, free: 155 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004414/11.24, allocations: 487.4 kB / 3.964 GB, free: 154.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=317): time 1.631e-05/11.24, allocations: 4 kB / 3.964 GB, free: 154.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=317): time 0.01275/11.26, allocations: 7.079 MB / 3.971 GB, free: 147.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/11.26, allocations: 81.91 kB / 3.971 GB, free: 147.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/11.27, allocations: 5.262 MB / 3.977 GB, free: 142 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001306/11.27, allocations: 93.7 kB / 3.977 GB, free: 141.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003757/11.27, allocations: 3.18 MB / 3.98 GB, free: 138.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/11.27, allocations: 1.121 MB / 3.981 GB, free: 137.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/11.28, allocations: 88 kB / 3.981 GB, free: 137.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002803/11.28, allocations: 495.6 kB / 3.981 GB, free: 137 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/11.28, allocations: 2.128 MB / 3.983 GB, free: 134.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/11.28, allocations: 3.66 MB / 3.987 GB, free: 130.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/11.29, allocations: 2.888 MB / 3.99 GB, free: 127.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/11.29, allocations: 12 kB / 3.99 GB, free: 127.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01139/11.3, allocations: 6.706 MB / 3.996 GB, free: 120.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/11.3, allocations: 58.64 kB / 3.996 GB, free: 120.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/11.3, allocations: 48 kB / 3.997 GB, free: 120.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000957/11.3, allocations: 444.2 kB / 3.997 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/11.3, allocations: 1.026 MB / 3.998 GB, free: 119.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004818/11.31, allocations: 5.41 MB / 4.003 GB, free: 113.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008506/11.32, allocations: 478.7 kB / 4.004 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/11.32, allocations: 220 kB / 4.004 GB, free: 112.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.006106/11.32, allocations: 2.48 MB / 4.006 GB, free: 110.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/11.33, allocations: 0.5287 MB / 4.007 GB, free: 109.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008444/11.33, allocations: 5.225 MB / 4.012 GB, free: 104.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/11.33, allocations: 32 kB / 4.012 GB, free: 104.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/11.33, allocations: 8 kB / 4.012 GB, free: 104.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00599/11.34, allocations: 4.497 MB / 4.016 GB, free: 99.98 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.02936/11.37, allocations: 11.84 MB / 4.028 GB, free: 88.05 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/11.37, allocations: 0 / 4.028 GB, free: 88.05 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/11.37, allocations: 0.6204 MB / 4.029 GB, free: 87.43 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007954/11.37, allocations: 369.3 kB / 4.029 GB, free: 87.07 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/11.37, allocations: 83.95 kB / 4.029 GB, free: 86.98 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/11.38, allocations: 5.306 MB / 4.034 GB, free: 81.42 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/11.38, allocations: 8.062 kB / 4.034 GB, free: 81.41 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/11.39, allocations: 7.736 MB / 4.042 GB, free: 73.57 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005536/11.4, allocations: 1.267 MB / 4.043 GB, free: 72.27 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002301/11.4, allocations: 63.98 kB / 4.043 GB, free: 72.21 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005709/11.4, allocations: 415.2 kB / 4.043 GB, free: 71.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/11.4, allocations: 210.2 kB / 4.044 GB, free: 71.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004587/11.4, allocations: 135.9 kB / 4.044 GB, free: 71.46 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.007729/11.41, allocations: 4.107 MB / 4.048 GB, free: 67.38 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.42e-07/11.41, allocations: 0 / 4.048 GB, free: 67.38 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0106/11.42, allocations: 2.058 MB / 4.05 GB, free: 65.32 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.002508/11.42, allocations: 0.8335 MB / 4.051 GB, free: 64.59 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008361/11.43, allocations: 5.351 MB / 4.056 GB, free: 59.18 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/11.43, allocations: 4.062 kB / 4.056 GB, free: 59.18 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/11.44, allocations: 2.494 MB / 4.058 GB, free: 56.66 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01644/11.45, allocations: 3.176 MB / 4.061 GB, free: 53.62 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/11.48, allocations: 16.09 MB / 4.077 GB, free: 37.59 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/11.49, allocations: 4.752 MB / 4.082 GB, free: 32.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00866/11.5, allocations: 2.147 MB / 4.084 GB, free: 30.73 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/11.5, allocations: 463.2 kB / 4.084 GB, free: 30.28 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/11.5, allocations: 0 / 4.084 GB, free: 30.28 MB / 1.182 GB Notification: Performance of Templates: time 1.665/13.16, allocations: 117.5 MB / 4.199 GB, free: 235.1 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches