Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001851/0.001851, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00175/0.00175, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.378/3.378, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [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.003817/0.003817, allocations: 69.78 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4943, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0591/0.5534, allocations: 45.49 MB / 1.37 GB, free: 4.215 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02533/0.5787, allocations: 12.95 MB / 1.383 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.5846, allocations: 91.25 kB / 1.383 GB, free: 7.141 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005336/0.5899, allocations: 0.8148 MB / 1.383 GB, free: 6.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.6009, allocations: 2.391 MB / 1.386 GB, free: 3.918 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.6056, allocations: 1.346 MB / 1.387 GB, free: 2.578 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02561/0.6312, allocations: 20.37 MB / 1.407 GB, free: 14.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.6434, allocations: 6.459 MB / 1.413 GB, free: 7.574 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01989/0.6633, allocations: 6.926 MB / 1.42 GB, free: 0.668 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01494/0.6783, allocations: 6.281 MB / 1.426 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.004073/0.6823, allocations: 0.8477 MB / 1.427 GB, free: 9.516 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008608/0.6909, allocations: 1.483 MB / 1.428 GB, free: 8.031 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005792/0.6967, allocations: 2.2 MB / 1.431 GB, free: 5.824 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.7092, allocations: 3.525 MB / 1.434 GB, free: 2.285 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.7345, allocations: 12.22 MB / 1.446 GB, free: 6.023 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.7345, allocations: 0 / 1.446 GB, free: 6.023 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.936e-06/0.7345, allocations: 0 / 1.446 GB, free: 6.023 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000646/0.7352, allocations: 0 / 1.446 GB, free: 6.023 MB / 1.139 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.04/0.7752, allocations: 7.857 MB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.7753, allocations: 8.031 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008641/0.7839, allocations: 0.8867 MB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03184/0.8157, allocations: 6.386 MB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009119/0.8166, allocations: 411.4 kB / 1.461 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003993/0.8206, allocations: 0.5506 MB / 1.462 GB, free: 5.777 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04156/0.8622, allocations: 9.135 MB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/0.8626, allocations: 23.83 kB / 1.471 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/0.8654, allocations: 236 kB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003374/0.8658, allocations: 167.9 kB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.8876, allocations: 6.508 MB / 1.477 GB, free: 5.207 MB / 1.17 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.05664/0.9442, allocations: 22.49 MB / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.9515, allocations: 3.426 MB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/0.9567, allocations: 2.579 MB / 1.505 GB, free: 8.32 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008098/0.9575, allocations: 142 kB / 1.505 GB, free: 8.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.9576, allocations: 72.67 kB / 1.505 GB, free: 8.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 7.955e-06/0.9576, allocations: 0 / 1.505 GB, free: 8.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01438/0.972, allocations: 5.56 MB / 1.511 GB, free: 2.477 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.9721, allocations: 81.52 kB / 1.511 GB, free: 2.383 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/0.9836, allocations: 4.547 MB / 1.515 GB, free: 13.81 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0008819/0.9845, allocations: 81.7 kB / 1.515 GB, free: 13.72 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003791/0.9883, allocations: 2.93 MB / 1.518 GB, free: 10.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002199/0.9905, allocations: 0.9916 MB / 1.519 GB, free: 9.773 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002666/0.9932, allocations: 0.7118 MB / 1.52 GB, free: 9.055 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9933, allocations: 305.1 kB / 1.52 GB, free: 8.754 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/0.9971, allocations: 1.674 MB / 1.522 GB, free: 7.078 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.002, allocations: 3.04 MB / 1.525 GB, free: 3.461 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009242/1.011, allocations: 4.966 MB / 1.53 GB, free: 13.9 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.776e-05/1.011, allocations: 12 kB / 1.53 GB, free: 13.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01376/1.025, allocations: 5.385 MB / 1.535 GB, free: 8.453 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/1.025, allocations: 20 kB / 1.535 GB, free: 8.434 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.539e-05/1.025, allocations: 40 kB / 1.535 GB, free: 8.395 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.027, allocations: 423.8 kB / 1.535 GB, free: 7.977 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/1.03, allocations: 0.8619 MB / 1.536 GB, free: 7.113 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/1.038, allocations: 5.356 MB / 1.542 GB, free: 1.559 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.043, allocations: 473 kB / 1.542 GB, free: 1.094 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.044, allocations: 183.9 kB / 1.542 GB, free: 0.9141 MB / 1.232 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.006491/1.051, allocations: 2.294 MB / 1.544 GB, free: 14.61 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/1.053, allocations: 449.1 kB / 1.545 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.064, allocations: 4.121 MB / 1.549 GB, free: 9.988 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/1.064, allocations: 28 kB / 1.549 GB, free: 9.961 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/1.064, allocations: 4 kB / 1.549 GB, free: 9.957 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007062/1.071, allocations: 3.62 MB / 1.552 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02596/1.097, allocations: 8.885 MB / 1.561 GB, free: 13.19 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/1.097, allocations: 11.92 kB / 1.561 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/1.1, allocations: 0.4954 MB / 1.562 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/1.101, allocations: 370.8 kB / 1.562 GB, free: 12.31 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000449/1.101, allocations: 79.95 kB / 1.562 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/1.109, allocations: 5.311 MB / 1.567 GB, free: 6.727 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.109, allocations: 4 kB / 1.567 GB, free: 6.723 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.122, allocations: 6.191 MB / 1.573 GB, free: 368 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00449/1.127, allocations: 0.9868 MB / 1.574 GB, free: 15.37 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/1.129, allocations: 59.98 kB / 1.574 GB, free: 15.31 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003993/1.133, allocations: 167.9 kB / 1.574 GB, free: 15.14 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/1.133, allocations: 181.3 kB / 1.575 GB, free: 14.97 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005973/1.134, allocations: 131.9 kB / 1.575 GB, free: 14.84 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007885/1.142, allocations: 3.112 MB / 1.578 GB, free: 11.72 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/1.142, allocations: 0 / 1.578 GB, free: 11.72 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01174/1.154, allocations: 1.898 MB / 1.58 GB, free: 9.82 MB / 1.279 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.002907/1.156, allocations: 477.9 kB / 1.58 GB, free: 9.344 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.168, allocations: 4.126 MB / 1.584 GB, free: 5.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/1.168, allocations: 0 / 1.584 GB, free: 5.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004578/1.173, allocations: 1.934 MB / 1.586 GB, free: 3.215 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/1.189, allocations: 2.621 MB / 1.589 GB, free: 0.6758 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.22, allocations: 12.53 MB / 1.601 GB, free: 4.039 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006159/1.227, allocations: 3.805 MB / 1.605 GB, free: 208 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.7642/1.991, allocations: 1.661 MB / 1.606 GB, free: 253.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.993, allocations: 381.5 kB / 1.607 GB, free: 253.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.713e-06/1.993, allocations: 1.094 kB / 1.607 GB, free: 253.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1593/2.152, allocations: 103.9 MB / 1.708 GB, free: 182.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.041146740317345]