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.003/2.003, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009846/0.0009846, allocations: 184.6 kB / 487.4 MB, free: 5.055 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.264/1.264, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007712, allocations: 103.6 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.132e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.102, allocations: 415.9 MB / 1.612 GB, free: 6.668 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/1.102, allocations: 87.14 kB / 1.612 GB, free: 6.625 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.832/7.934, allocations: 2.126 GB / 3.738 GB, free: 215.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.763e-06/7.934, allocations: 0 / 3.738 GB, free: 215.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008999/7.935, allocations: 180.7 kB / 3.738 GB, free: 215.4 MB / 1.151 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.01693/7.952, allocations: 5.527 MB / 3.743 GB, free: 209.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/7.952, allocations: 12.03 kB / 3.743 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/7.957, allocations: 0.776 MB / 3.744 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/7.973, allocations: 7.474 MB / 3.751 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/7.973, allocations: 180 kB / 3.752 GB, free: 201.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/7.975, allocations: 327.8 kB / 3.752 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01106/7.986, allocations: 5.492 MB / 3.757 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/8.002, allocations: 6.605 MB / 3.764 GB, free: 188.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/8.002, allocations: 27.81 kB / 3.764 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/8.004, allocations: 12 kB / 3.764 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/8.004, allocations: 221.6 kB / 3.764 GB, free: 188.6 MB / 1.151 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.04063/8.045, allocations: 28.58 MB / 3.792 GB, free: 159 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/8.05, allocations: 3.395 MB / 3.795 GB, free: 155.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/8.053, allocations: 2.641 MB / 3.798 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/8.054, allocations: 0.8265 MB / 3.799 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/8.054, allocations: 72.67 kB / 3.799 GB, free: 151.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 5.16e-06/8.054, allocations: 0 / 3.799 GB, free: 151.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.006753/8.061, allocations: 3.534 MB / 3.802 GB, free: 148.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/8.061, allocations: 77.52 kB / 3.802 GB, free: 148.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008097/8.069, allocations: 3.977 MB / 3.806 GB, free: 144.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008245/8.07, allocations: 29.7 kB / 3.806 GB, free: 144.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/8.072, allocations: 2.844 MB / 3.809 GB, free: 141.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/8.074, allocations: 0.9008 MB / 3.81 GB, free: 140.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/8.074, allocations: 0 / 3.81 GB, free: 140.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003625/8.075, allocations: 461.9 kB / 3.81 GB, free: 139.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/8.077, allocations: 1.538 MB / 3.812 GB, free: 138.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/8.08, allocations: 2.771 MB / 3.814 GB, free: 135.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/8.084, allocations: 2.234 MB / 3.817 GB, free: 132.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/8.084, allocations: 12 kB / 3.817 GB, free: 132.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009237/8.093, allocations: 4.927 MB / 3.821 GB, free: 127.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/8.093, allocations: 20 kB / 3.821 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/8.093, allocations: 40 kB / 3.821 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/8.094, allocations: 424.3 kB / 3.822 GB, free: 127.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/8.097, allocations: 0.8619 MB / 3.823 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/8.102, allocations: 5.142 MB / 3.828 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/8.107, allocations: 0.5229 MB / 3.828 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009325/8.108, allocations: 184 kB / 3.828 GB, free: 120.4 MB / 1.151 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.001476/8.11, allocations: 219.7 kB / 3.829 GB, free: 120.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/8.112, allocations: 430.7 kB / 3.829 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007934/8.12, allocations: 3.887 MB / 3.833 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/8.12, allocations: 28 kB / 3.833 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/8.12, allocations: 4 kB / 3.833 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004714/8.124, allocations: 3.444 MB / 3.836 GB, free: 112.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/8.147, allocations: 9.361 MB / 3.845 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/8.147, allocations: 4 kB / 3.845 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/8.149, allocations: 0.5076 MB / 3.846 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/8.15, allocations: 361.3 kB / 3.846 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003805/8.151, allocations: 43.97 kB / 3.846 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/8.155, allocations: 5.096 MB / 3.851 GB, free: 96.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/8.155, allocations: 4 kB / 3.851 GB, free: 96.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009347/8.165, allocations: 6.429 MB / 3.858 GB, free: 89.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003459/8.168, allocations: 1.128 MB / 3.859 GB, free: 88.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/8.17, allocations: 19.98 kB / 3.859 GB, free: 88.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/8.174, allocations: 247.2 kB / 3.859 GB, free: 88.33 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/8.174, allocations: 177.7 kB / 3.859 GB, free: 88.15 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004491/8.175, allocations: 131.9 kB / 3.859 GB, free: 88.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005788/8.18, allocations: 3.03 MB / 3.862 GB, free: 84.99 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.61e-07/8.181, allocations: 0 / 3.862 GB, free: 84.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008826/8.189, allocations: 1.842 MB / 3.864 GB, free: 83.14 MB / 1.151 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.002135/8.192, allocations: 0.7051 MB / 3.865 GB, free: 82.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006247/8.198, allocations: 3.932 MB / 3.868 GB, free: 78.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/8.198, allocations: 4 kB / 3.868 GB, free: 78.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/8.201, allocations: 1.901 MB / 3.87 GB, free: 76.63 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/8.213, allocations: 2.383 MB / 3.873 GB, free: 74.35 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/8.235, allocations: 10.3 MB / 3.883 GB, free: 64.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007653/8.243, allocations: 4.405 MB / 3.887 GB, free: 59.59 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007402/8.25, allocations: 1.694 MB / 3.889 GB, free: 57.95 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/8.252, allocations: 387.2 kB / 3.889 GB, free: 57.57 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/8.252, allocations: 0 / 3.889 GB, free: 57.57 MB / 1.151 GB Notification: Performance of Templates: time 0.7397/8.992, allocations: 83.74 MB / 3.971 GB, free: 250.1 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