Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 178.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003844, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8234, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05801/0.8814, allocations: 47.98 MB / 1.071 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.9048, allocations: 13.67 MB / 1.084 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/0.9081, allocations: 55.62 kB / 1.084 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.9112, allocations: 0.6564 MB / 1.085 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.9193, allocations: 2.084 MB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.9236, allocations: 1.183 MB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02886/0.9524, allocations: 25.64 MB / 1.113 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.9644, allocations: 7.824 MB / 1.12 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.9762, allocations: 4.695 MB / 1.125 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01323/0.9895, allocations: 5.215 MB / 1.13 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00253/0.9921, allocations: 304 kB / 1.13 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/0.9991, allocations: 0.9866 MB / 1.131 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003066/1.002, allocations: 1.428 MB / 1.133 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008801/1.011, allocations: 3.539 MB / 1.136 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.024, allocations: 9.508 MB / 1.146 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.024, allocations: 4 kB / 1.146 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.337e-06/1.024, allocations: 3.938 kB / 1.146 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004877/1.025, allocations: 0 / 1.146 GB, free: 2.574 MB / 0.8887 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.01697/1.042, allocations: 6.229 MB / 1.152 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/1.042, allocations: 11.98 kB / 1.152 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/1.046, allocations: 0.7852 MB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/1.061, allocations: 6.24 MB / 1.158 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006103/1.062, allocations: 415.4 kB / 1.159 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/1.064, allocations: 0.5428 MB / 1.159 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.086, allocations: 8.072 MB / 1.167 GB, free: 11.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/1.087, allocations: 15.94 kB / 1.167 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/1.089, allocations: 236 kB / 1.168 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003154/1.089, allocations: 167.9 kB / 1.168 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/1.105, allocations: 6.524 MB / 1.174 GB, free: 4.949 MB / 0.92 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.05146/1.156, allocations: 31.17 MB / 1.205 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/1.163, allocations: 3.641 MB / 1.208 GB, free: 312 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/1.169, allocations: 2.826 MB / 1.211 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.17, allocations: 0.8397 MB / 1.212 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/1.17, allocations: 76.67 kB / 1.212 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 8.727e-06/1.17, allocations: 0 / 1.212 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01382/1.184, allocations: 5.79 MB / 1.217 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/1.184, allocations: 77.52 kB / 1.217 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.195, allocations: 5.021 MB / 1.222 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0008061/1.196, allocations: 85.7 kB / 1.222 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003474/1.2, allocations: 2.872 MB / 1.225 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.201, allocations: 0.9359 MB / 1.226 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009416/1.202, allocations: 305.6 kB / 1.226 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.203, allocations: 305.1 kB / 1.227 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/1.206, allocations: 1.674 MB / 1.228 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/1.211, allocations: 2.932 MB / 1.231 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007947/1.219, allocations: 4.97 MB / 1.236 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-05/1.219, allocations: 8 kB / 1.236 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01177/1.23, allocations: 5.442 MB / 1.241 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/1.231, allocations: 20 kB / 1.241 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.801e-05/1.231, allocations: 40 kB / 1.241 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.232, allocations: 424.1 kB / 1.242 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/1.235, allocations: 0.8618 MB / 1.243 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/1.242, allocations: 5.267 MB / 1.248 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.247, allocations: 0.6471 MB / 1.248 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008005/1.248, allocations: 176 kB / 1.249 GB, free: 4.91 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00508/1.253, allocations: 2.284 MB / 1.251 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.255, allocations: 486.2 kB / 1.251 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6073/1.862, allocations: 4.169 MB / 1.255 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/1.862, allocations: 33.5 kB / 1.255 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.862, allocations: 4.25 kB / 1.255 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006461/1.869, allocations: 3.632 MB / 1.259 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/1.893, allocations: 10.21 MB / 1.269 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.893, allocations: 4.25 kB / 1.269 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.895, allocations: 0.5001 MB / 1.269 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000986/1.896, allocations: 374.5 kB / 1.27 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.896, allocations: 82 kB / 1.27 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/1.902, allocations: 5.202 MB / 1.275 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.902, allocations: 8.688 kB / 1.275 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.914, allocations: 6.254 MB / 1.281 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004041/1.918, allocations: 1.157 MB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.919, allocations: 67.25 kB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/1.923, allocations: 331.5 kB / 1.283 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/1.923, allocations: 179.6 kB / 1.283 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.923, allocations: 125.1 kB / 1.283 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005562/1.929, allocations: 3.687 MB / 1.287 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.929, allocations: 1.875 kB / 1.287 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005361/1.934, allocations: 1.781 MB / 1.288 GB, free: 197 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/1.935, allocations: 478.4 kB / 1.289 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005721/1.941, allocations: 4.255 MB / 1.293 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.941, allocations: 3.719 kB / 1.293 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.944, allocations: 2.049 MB / 1.295 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02037/1.964, allocations: 3.275 MB / 1.298 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.985, allocations: 15.17 MB / 1.313 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/1.988, allocations: 4.239 MB / 1.317 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/1.99, allocations: 435.2 kB / 1.317 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.99, allocations: 0 / 1.317 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.2028/2.193, allocations: 171.6 MB / 1.485 GB, free: 0.7344 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches