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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 214.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.991/2.991, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 69.48 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4385, allocations: 169.9 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05954/0.4981, allocations: 50.37 MB / 1.333 GB, free: 9.207 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.5228, allocations: 13.97 MB / 1.347 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.5264, allocations: 99.25 kB / 1.347 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.5298, allocations: 0.8304 MB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009384/0.5392, allocations: 2.418 MB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.544, allocations: 1.372 MB / 1.352 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02576/0.5697, allocations: 20.1 MB / 1.371 GB, free: 2.316 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.5817, allocations: 6.455 MB / 1.378 GB, free: 11.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01806/0.5998, allocations: 6.674 MB / 1.384 GB, free: 5.086 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.6122, allocations: 6.039 MB / 1.39 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002994/0.6152, allocations: 0.8515 MB / 1.391 GB, free: 14.17 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.6224, allocations: 1.678 MB / 1.392 GB, free: 12.49 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004983/0.6274, allocations: 2.208 MB / 1.395 GB, free: 10.28 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01252/0.6399, allocations: 4.283 MB / 1.399 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02329/0.6632, allocations: 12.15 MB / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.6632, allocations: 0 / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6632, allocations: 0 / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005955/0.6638, allocations: 0 / 1.411 GB, free: 9.793 MB / 1.107 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.02618/0.69, allocations: 7.857 MB / 1.418 GB, free: 1.867 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.69, allocations: 12.03 kB / 1.418 GB, free: 1.855 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000262/0.6903, allocations: 147.2 kB / 1.418 GB, free: 1.711 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00399/0.6943, allocations: 0.772 MB / 1.419 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/0.7009, allocations: 0.8829 MB / 1.42 GB, free: 44 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/0.7196, allocations: 6.364 MB / 1.426 GB, free: 9.594 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005809/0.7202, allocations: 423 kB / 1.427 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/0.7231, allocations: 0.539 MB / 1.427 GB, free: 8.641 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.7473, allocations: 8.069 MB / 1.435 GB, free: 344 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.7475, allocations: 23.88 kB / 1.435 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/0.7493, allocations: 239.9 kB / 1.435 GB, free: 80 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.7495, allocations: 163.9 kB / 1.435 GB, free: 15.92 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.7657, allocations: 6.528 MB / 1.442 GB, free: 9.379 MB / 1.139 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.05712/0.8228, allocations: 31.16 MB / 1.472 GB, free: 8.371 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.8297, allocations: 3.448 MB / 1.476 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/0.8345, allocations: 2.57 MB / 1.478 GB, free: 2.34 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.8352, allocations: 165.9 kB / 1.478 GB, free: 2.176 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.945e-05/0.8353, allocations: 68.67 kB / 1.478 GB, free: 2.098 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 4.669e-06/0.8353, allocations: 0 / 1.478 GB, free: 2.098 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01321/0.8485, allocations: 5.63 MB / 1.484 GB, free: 12.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.8486, allocations: 81.52 kB / 1.484 GB, free: 12.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/0.8603, allocations: 5.243 MB / 1.489 GB, free: 7.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008967/0.8612, allocations: 81.64 kB / 1.489 GB, free: 6.984 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003762/0.865, allocations: 2.938 MB / 1.492 GB, free: 4.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/0.8672, allocations: 0.98 MB / 1.493 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/0.8695, allocations: 0.7234 MB / 1.494 GB, free: 2.305 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8696, allocations: 305.1 kB / 1.494 GB, free: 2.004 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/0.8729, allocations: 1.67 MB / 1.496 GB, free: 340 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/0.8775, allocations: 2.936 MB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008251/0.8858, allocations: 4.966 MB / 1.503 GB, free: 7.285 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.55e-05/0.8858, allocations: 12 kB / 1.503 GB, free: 7.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01165/0.8975, allocations: 5.447 MB / 1.509 GB, free: 1.773 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.8975, allocations: 24.92 kB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-05/0.8976, allocations: 40 kB / 1.509 GB, free: 1.711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.8988, allocations: 419.6 kB / 1.509 GB, free: 1.297 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/0.9022, allocations: 0.858 MB / 1.51 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.9091, allocations: 5.488 MB / 1.515 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/0.9141, allocations: 0.5276 MB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/0.9148, allocations: 176 kB / 1.516 GB, free: 10.02 MB / 1.217 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.004857/0.9197, allocations: 2.291 MB / 1.518 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/0.9217, allocations: 0.5046 MB / 1.519 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009023/0.9307, allocations: 4.174 MB / 1.523 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.9307, allocations: 24.05 kB / 1.523 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.9308, allocations: 11.98 kB / 1.523 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006138/0.9369, allocations: 3.624 MB / 1.526 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/0.963, allocations: 10.3 MB / 1.536 GB, free: 4.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.963, allocations: 4 kB / 1.536 GB, free: 4.742 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/0.9653, allocations: 0.4993 MB / 1.537 GB, free: 4.242 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009431/0.9663, allocations: 373.5 kB / 1.537 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003115/0.9666, allocations: 79.95 kB / 1.537 GB, free: 3.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006392/0.973, allocations: 5.437 MB / 1.543 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.973, allocations: 11.88 kB / 1.543 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.9854, allocations: 6.263 MB / 1.549 GB, free: 7.691 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003564/0.989, allocations: 1.076 MB / 1.55 GB, free: 6.609 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/0.9907, allocations: 63.98 kB / 1.55 GB, free: 6.547 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/0.9947, allocations: 163.8 kB / 1.55 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/0.9954, allocations: 197.5 kB / 1.55 GB, free: 6.191 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006923/0.996, allocations: 127.9 kB / 1.55 GB, free: 6.066 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.01113/1.007, allocations: 3.843 MB / 1.554 GB, free: 2.238 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.41e-07/1.007, allocations: 0 / 1.554 GB, free: 2.238 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.009103/1.016, allocations: 1.817 MB / 1.556 GB, free: 428 kB / 1.248 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.01557/1.032, allocations: 7.186 MB / 1.563 GB, free: 9.051 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009084/1.041, allocations: 4.132 MB / 1.567 GB, free: 4.875 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/1.041, allocations: 5 kB / 1.567 GB, free: 4.871 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/1.045, allocations: 1.917 MB / 1.569 GB, free: 2.922 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02822/1.073, allocations: 3.459 MB / 1.572 GB, free: 15.55 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.007/2.08, allocations: 47.2 MB / 1.618 GB, free: 285.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005378/2.085, allocations: 4.3 MB / 1.622 GB, free: 284.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005558/2.091, allocations: 1.855 MB / 1.624 GB, free: 284.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004017/2.095, allocations: 2.452 MB / 1.627 GB, free: 282.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.743e-06/2.095, allocations: 0 / 1.627 GB, free: 282.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2087/2.304, allocations: 157.8 MB / 1.781 GB, free: 140.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.94/25.25, allocations: 15.7 kB / 1.781 GB, free: 140.1 MB / 1.295 GB " [Timeout remaining time 274] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 33.44979087804677]