Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007405/0.007406, allocations: 100 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6808, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05279/0.7336, allocations: 49.3 MB / 1.268 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.7534, allocations: 13.82 MB / 1.282 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7554, allocations: 71.62 kB / 1.282 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.7574, allocations: 0.8031 MB / 1.283 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.7629, allocations: 2.25 MB / 1.285 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.7658, allocations: 1.314 MB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02027/0.7861, allocations: 19.6 MB / 1.305 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.7988, allocations: 9.898 MB / 1.315 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.8114, allocations: 6.518 MB / 1.321 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009418/0.8209, allocations: 5.758 MB / 1.327 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.8227, allocations: 0.8438 MB / 1.328 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.8277, allocations: 1.604 MB / 1.329 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003264/0.831, allocations: 2.119 MB / 1.331 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006983/0.838, allocations: 4.287 MB / 1.336 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.8523, allocations: 12.09 MB / 1.347 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8524, allocations: 0 / 1.347 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8524, allocations: 0 / 1.347 GB, free: 15.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000313/0.8527, allocations: 4 kB / 1.347 GB, free: 15.3 MB / 1.076 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.0174/0.8701, allocations: 7.917 MB / 1.355 GB, free: 7.293 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8702, allocations: 8.031 kB / 1.355 GB, free: 7.285 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.8716, allocations: 0.7681 MB / 1.356 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.8743, allocations: 0.8165 MB / 1.357 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.8863, allocations: 6.351 MB / 1.363 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.8867, allocations: 415.2 kB / 1.363 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.8879, allocations: 0.5389 MB / 1.364 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.9027, allocations: 8.072 MB / 1.372 GB, free: 6.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.9028, allocations: 15.89 kB / 1.372 GB, free: 6.004 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006617/0.9035, allocations: 236 kB / 1.372 GB, free: 5.773 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.9037, allocations: 171.9 kB / 1.372 GB, free: 5.605 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.9157, allocations: 6.524 MB / 1.378 GB, free: 15.07 MB / 1.107 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.04162/0.9574, allocations: 31.27 MB / 1.409 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.9633, allocations: 3.643 MB / 1.413 GB, free: 10.33 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/0.9676, allocations: 2.807 MB / 1.415 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.9687, allocations: 0.8241 MB / 1.416 GB, free: 6.523 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.895e-05/0.9688, allocations: 72.67 kB / 1.416 GB, free: 6.441 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 6.652e-06/0.9688, allocations: 4 kB / 1.416 GB, free: 6.438 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01151/0.9804, allocations: 5.788 MB / 1.422 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.9804, allocations: 77.52 kB / 1.422 GB, free: 472 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008061/0.9885, allocations: 5.243 MB / 1.427 GB, free: 11.22 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004122/0.9889, allocations: 77.7 kB / 1.427 GB, free: 11.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.9917, allocations: 2.934 MB / 1.43 GB, free: 8.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.993, allocations: 0.98 MB / 1.431 GB, free: 7.191 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.9941, allocations: 0.7156 MB / 1.432 GB, free: 6.469 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9943, allocations: 309.1 kB / 1.432 GB, free: 6.164 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.997, allocations: 1.674 MB / 1.434 GB, free: 4.488 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/1.001, allocations: 2.944 MB / 1.436 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/1.008, allocations: 4.966 MB / 1.441 GB, free: 11.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.457e-05/1.008, allocations: 8 kB / 1.441 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009789/1.018, allocations: 5.456 MB / 1.447 GB, free: 5.918 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.018, allocations: 20.22 kB / 1.447 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.563e-05/1.018, allocations: 47.98 kB / 1.447 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.019, allocations: 421.3 kB / 1.447 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.022, allocations: 0.8697 MB / 1.448 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/1.029, allocations: 5.695 MB / 1.453 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.033, allocations: 0.5275 MB / 1.454 GB, free: 14.06 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/1.033, allocations: 180 kB / 1.454 GB, free: 13.89 MB / 1.186 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.004001/1.037, allocations: 2.284 MB / 1.456 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.039, allocations: 0.5008 MB / 1.457 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008203/1.047, allocations: 4.183 MB / 1.461 GB, free: 6.844 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/1.047, allocations: 28 kB / 1.461 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.047, allocations: 7.938 kB / 1.461 GB, free: 6.809 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006254/1.053, allocations: 3.635 MB / 1.465 GB, free: 3.059 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.073, allocations: 10.27 MB / 1.475 GB, free: 8.609 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.074, allocations: 4 kB / 1.475 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.076, allocations: 0.4998 MB / 1.475 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.077, allocations: 379.9 kB / 1.475 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002932/1.077, allocations: 75.95 kB / 1.476 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007082/1.084, allocations: 5.641 MB / 1.481 GB, free: 1.738 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.084, allocations: 11.88 kB / 1.481 GB, free: 1.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.095, allocations: 6.268 MB / 1.487 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/1.098, allocations: 1.122 MB / 1.488 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.099, allocations: 63.98 kB / 1.488 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/1.103, allocations: 183.7 kB / 1.488 GB, free: 9.902 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/1.103, allocations: 181.6 kB / 1.489 GB, free: 9.723 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003361/1.103, allocations: 123.9 kB / 1.489 GB, free: 9.602 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00635/1.11, allocations: 3.843 MB / 1.493 GB, free: 5.773 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.31e-07/1.11, allocations: 0 / 1.493 GB, free: 5.773 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005367/1.115, allocations: 1.817 MB / 1.494 GB, free: 3.953 MB / 1.217 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.01135/1.127, allocations: 7.196 MB / 1.501 GB, free: 12.59 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007581/1.134, allocations: 4.284 MB / 1.506 GB, free: 8.262 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.134, allocations: 4 kB / 1.506 GB, free: 8.258 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/1.138, allocations: 2.053 MB / 1.508 GB, free: 6.176 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01809/1.156, allocations: 3.456 MB / 1.511 GB, free: 2.816 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0914/1.247, allocations: 47.13 MB / 1.557 GB, free: 1.996 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5756/1.823, allocations: 4.299 MB / 1.561 GB, free: 316.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00668/1.83, allocations: 1.852 MB / 1.563 GB, free: 316.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003967/1.834, allocations: 2.45 MB / 1.565 GB, free: 315.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.233e-06/1.834, allocations: 1.688 kB / 1.565 GB, free: 315.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/2.032, allocations: 154.1 MB / 1.716 GB, free: 184.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/22.94, allocations: 5.234 kB / 1.716 GB, free: 184.1 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches