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.001258/0.001258, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001443/0.001443, allocations: 214.9 kB / 22.25 MB, free: 5.121 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.333/1.333, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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 2.924/2.924, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.002026/0.002026, allocations: 65.19 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3549, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05102/0.4059, allocations: 50.44 MB / 1.376 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02333/0.4292, allocations: 13.98 MB / 1.389 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.4327, allocations: 91.25 kB / 1.389 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.4357, allocations: 0.8422 MB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007813/0.4435, allocations: 2.406 MB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4474, allocations: 1.375 MB / 1.394 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02152/0.4689, allocations: 20.17 MB / 1.414 GB, free: 7.863 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.4791, allocations: 6.443 MB / 1.42 GB, free: 1.293 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/0.4941, allocations: 6.89 MB / 1.427 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.5059, allocations: 5.961 MB / 1.432 GB, free: 4.441 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003155/0.5091, allocations: 0.8438 MB / 1.433 GB, free: 3.598 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00732/0.5164, allocations: 1.694 MB / 1.435 GB, free: 1.902 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003688/0.5201, allocations: 2.2 MB / 1.437 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008055/0.5281, allocations: 4.303 MB / 1.441 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.5439, allocations: 12.19 MB / 1.453 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5439, allocations: 0 / 1.453 GB, free: 15.14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5439, allocations: 0 / 1.453 GB, free: 15.14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.000371/0.5443, allocations: 0 / 1.453 GB, free: 15.14 MB / 1.154 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.01681/0.5611, allocations: 7.857 MB / 1.461 GB, free: 7.219 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5612, allocations: 8.031 kB / 1.461 GB, free: 7.211 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.5648, allocations: 0.8867 MB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.5778, allocations: 6.388 MB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.5782, allocations: 411.4 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.5798, allocations: 0.5506 MB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.5952, allocations: 8.065 MB / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.5953, allocations: 19.83 kB / 1.477 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000593/0.5959, allocations: 244 kB / 1.477 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.5961, allocations: 171.8 kB / 1.477 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.6074, allocations: 6.524 MB / 1.483 GB, free: 15.63 MB / 1.186 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.04391/0.6514, allocations: 31.21 MB / 1.514 GB, free: 14.58 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.6573, allocations: 3.44 MB / 1.517 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/0.6614, allocations: 2.581 MB / 1.52 GB, free: 8.547 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.662, allocations: 165.9 kB / 1.52 GB, free: 8.383 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.835e-05/0.6621, allocations: 64.67 kB / 1.52 GB, free: 8.309 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 4.609e-06/0.6621, allocations: 4 kB / 1.52 GB, free: 8.305 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01075/0.6729, allocations: 5.626 MB / 1.526 GB, free: 2.617 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.6729, allocations: 81.52 kB / 1.526 GB, free: 2.523 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007761/0.6807, allocations: 5.239 MB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004672/0.6812, allocations: 81.7 kB / 1.531 GB, free: 13.2 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002518/0.6837, allocations: 2.934 MB / 1.534 GB, free: 10.24 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/0.685, allocations: 0.9761 MB / 1.535 GB, free: 9.258 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009711/0.686, allocations: 0.7156 MB / 1.535 GB, free: 8.535 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6861, allocations: 309.1 kB / 1.536 GB, free: 8.23 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.6886, allocations: 1.678 MB / 1.537 GB, free: 6.551 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/0.692, allocations: 2.932 MB / 1.54 GB, free: 3.066 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006321/0.6983, allocations: 4.966 MB / 1.545 GB, free: 13.51 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.6983, allocations: 12 kB / 1.545 GB, free: 13.5 MB / 1.248 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009044/0.7074, allocations: 5.448 MB / 1.55 GB, free: 7.996 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.7074, allocations: 20 kB / 1.55 GB, free: 7.977 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/0.7075, allocations: 40 kB / 1.55 GB, free: 7.938 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.7085, allocations: 428.1 kB / 1.551 GB, free: 7.516 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/0.7113, allocations: 0.8618 MB / 1.552 GB, free: 6.652 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.7172, allocations: 5.495 MB / 1.557 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.7212, allocations: 0.5354 MB / 1.558 GB, free: 404 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.7215, allocations: 180 kB / 1.558 GB, free: 224 kB / 1.248 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.003831/0.7254, allocations: 2.28 MB / 1.56 GB, free: 13.92 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/0.7267, allocations: 0.4969 MB / 1.56 GB, free: 13.42 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006662/0.7333, allocations: 4.167 MB / 1.564 GB, free: 9.199 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.7334, allocations: 31.98 kB / 1.565 GB, free: 9.168 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7334, allocations: 8 kB / 1.565 GB, free: 9.16 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004962/0.7383, allocations: 3.624 MB / 1.568 GB, free: 5.422 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.7563, allocations: 10.3 MB / 1.578 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.7563, allocations: 4.562 kB / 1.578 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.7583, allocations: 0.4993 MB / 1.579 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/0.7591, allocations: 379.1 kB / 1.579 GB, free: 10.08 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.7593, allocations: 71.97 kB / 1.579 GB, free: 10.01 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005702/0.765, allocations: 5.43 MB / 1.584 GB, free: 4.355 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.765, allocations: 4 kB / 1.584 GB, free: 4.352 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009859/0.7749, allocations: 6.276 MB / 1.59 GB, free: 13.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/0.7783, allocations: 1.076 MB / 1.592 GB, free: 12.82 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.7794, allocations: 67.92 kB / 1.592 GB, free: 12.76 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/0.782, allocations: 179.8 kB / 1.592 GB, free: 12.58 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.7823, allocations: 185.5 kB / 1.592 GB, free: 12.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/0.7825, allocations: 127.9 kB / 1.592 GB, free: 12.27 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005878/0.7884, allocations: 3.851 MB / 1.596 GB, free: 8.438 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7884, allocations: 0 / 1.596 GB, free: 8.438 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005535/0.794, allocations: 1.809 MB / 1.598 GB, free: 6.625 MB / 1.295 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.001099/0.7951, allocations: 483.5 kB / 1.598 GB, free: 6.145 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006448/0.8015, allocations: 4.132 MB / 1.602 GB, free: 1.973 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.8015, allocations: 8 kB / 1.602 GB, free: 1.965 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.8042, allocations: 1.92 MB / 1.604 GB, free: 16 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6093/1.414, allocations: 3.453 MB / 1.607 GB, free: 260 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/1.433, allocations: 12.73 MB / 1.62 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/1.437, allocations: 4.307 MB / 1.624 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005693/1.443, allocations: 1.854 MB / 1.626 GB, free: 253.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.444, allocations: 418.5 kB / 1.626 GB, free: 253.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.222e-06/1.444, allocations: 0 / 1.626 GB, free: 253.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1339/1.578, allocations: 116.6 MB / 1.74 GB, free: 154.5 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: 12.069293749984354]