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: 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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.5 MB / 398 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.001144/0.001144, allocations: 184.8 kB / 491.2 MB, free: 1.59 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.447/1.447, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009492/0.0009493, allocations: 98.7 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.346e-05/1.348e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.525, allocations: 416.7 MB / 1.619 GB, free: 14.06 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.526, allocations: 89.23 kB / 1.619 GB, free: 14.02 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.363/9.889, allocations: 2.126 GB / 3.745 GB, free: 222.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.886e-06/9.889, allocations: 0 / 3.745 GB, free: 222.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001119/9.89, allocations: 177.5 kB / 3.745 GB, free: 222.6 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.02093/9.911, allocations: 5.522 MB / 3.751 GB, free: 217.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/9.911, allocations: 8.031 kB / 3.751 GB, free: 217 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005819/9.917, allocations: 0.7843 MB / 3.751 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/9.936, allocations: 7.48 MB / 3.759 GB, free: 208.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/9.937, allocations: 176 kB / 3.759 GB, free: 208.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/9.939, allocations: 320 kB / 3.759 GB, free: 208.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01427/9.953, allocations: 5.496 MB / 3.764 GB, free: 202.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/9.974, allocations: 6.619 MB / 3.771 GB, free: 196 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/9.974, allocations: 27.3 kB / 3.771 GB, free: 196 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/9.976, allocations: 8 kB / 3.771 GB, free: 196 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/9.977, allocations: 218.5 kB / 3.771 GB, free: 195.8 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.04693/10.02, allocations: 28.58 MB / 3.799 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/10.03, allocations: 3.39 MB / 3.802 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/10.03, allocations: 2.651 MB / 3.805 GB, free: 160.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008876/10.03, allocations: 0.8232 MB / 3.806 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.445e-05/10.03, allocations: 72.67 kB / 3.806 GB, free: 159 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.23e-06/10.03, allocations: 0 / 3.806 GB, free: 159 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.007304/10.04, allocations: 3.534 MB / 3.809 GB, free: 155.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/10.04, allocations: 81.45 kB / 3.809 GB, free: 155.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008565/10.05, allocations: 3.969 MB / 3.813 GB, free: 151.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000836/10.05, allocations: 29.7 kB / 3.813 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/10.05, allocations: 2.85 MB / 3.816 GB, free: 148.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/10.05, allocations: 0.9048 MB / 3.817 GB, free: 147.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/10.06, allocations: 0 / 3.817 GB, free: 147.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003467/10.06, allocations: 461.9 kB / 3.817 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/10.06, allocations: 1.534 MB / 3.819 GB, free: 145.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/10.06, allocations: 2.767 MB / 3.822 GB, free: 142.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/10.06, allocations: 2.234 MB / 3.824 GB, free: 140 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/10.06, allocations: 11.95 kB / 3.824 GB, free: 139.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009556/10.07, allocations: 4.927 MB / 3.829 GB, free: 135 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/10.07, allocations: 24.94 kB / 3.829 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.63e-05/10.07, allocations: 43.98 kB / 3.829 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/10.08, allocations: 415.7 kB / 3.829 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/10.08, allocations: 0.8619 MB / 3.83 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/10.08, allocations: 5.157 MB / 3.835 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/10.09, allocations: 0.519 MB / 3.835 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/10.09, allocations: 180 kB / 3.836 GB, free: 127.6 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.001747/10.09, allocations: 223.6 kB / 3.836 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/10.09, allocations: 434.7 kB / 3.836 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/10.1, allocations: 3.874 MB / 3.84 GB, free: 123 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/10.1, allocations: 28 kB / 3.84 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/10.1, allocations: 4 kB / 3.84 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00543/10.11, allocations: 3.444 MB / 3.843 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/10.14, allocations: 9.362 MB / 3.853 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/10.14, allocations: 8.062 kB / 3.853 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/10.14, allocations: 0.4954 MB / 3.853 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008113/10.14, allocations: 361.3 kB / 3.853 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/10.14, allocations: 43.97 kB / 3.853 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/10.14, allocations: 5.09 MB / 3.858 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/10.15, allocations: 8 kB / 3.858 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009462/10.15, allocations: 6.431 MB / 3.865 GB, free: 96.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/10.16, allocations: 1.128 MB / 3.866 GB, free: 95.75 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00236/10.16, allocations: 19.98 kB / 3.866 GB, free: 95.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00509/10.17, allocations: 243.3 kB / 3.866 GB, free: 95.49 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/10.17, allocations: 177.7 kB / 3.866 GB, free: 95.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004424/10.17, allocations: 131.9 kB / 3.866 GB, free: 95.19 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006453/10.17, allocations: 3.03 MB / 3.869 GB, free: 92.16 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.81e-07/10.17, allocations: 0 / 3.869 GB, free: 92.16 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009281/10.18, allocations: 1.845 MB / 3.871 GB, free: 90.31 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.002009/10.18, allocations: 0.7156 MB / 3.872 GB, free: 89.66 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006688/10.19, allocations: 3.934 MB / 3.876 GB, free: 85.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/10.19, allocations: 4 kB / 3.876 GB, free: 85.69 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/10.19, allocations: 1.915 MB / 3.877 GB, free: 83.76 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01349/10.21, allocations: 2.367 MB / 3.88 GB, free: 81.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/10.23, allocations: 10.29 MB / 3.89 GB, free: 71.16 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006816/10.24, allocations: 4.424 MB / 3.894 GB, free: 66.71 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008092/10.25, allocations: 1.686 MB / 3.896 GB, free: 65.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/10.25, allocations: 395.2 kB / 3.896 GB, free: 64.65 MB / 1.167 GB Notification: Performance of SimCode: time 2.013e-06/10.25, allocations: 0 / 3.896 GB, free: 64.65 MB / 1.167 GB Notification: Performance of Templates: time 0.9319/11.18, allocations: 83.73 MB / 3.978 GB, free: 229.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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 & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches