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.001342/0.001342, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001642/0.001642, allocations: 210 kB / 23 MB, free: 4.934 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.134/3.134, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002063/0.002063, allocations: 72.23 kB / 1.155 GB, free: 25.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 176.1 MB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0542/0.4154, allocations: 45.49 MB / 1.371 GB, free: 3.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.4368, allocations: 12.96 MB / 1.384 GB, free: 6.234 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.4396, allocations: 91.25 kB / 1.384 GB, free: 6.145 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.4425, allocations: 0.8071 MB / 1.385 GB, free: 5.332 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009902/0.4524, allocations: 2.398 MB / 1.387 GB, free: 2.922 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.4569, allocations: 1.371 MB / 1.389 GB, free: 1.559 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02363/0.4806, allocations: 20.15 MB / 1.408 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.4917, allocations: 6.474 MB / 1.415 GB, free: 6.758 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/0.5083, allocations: 6.923 MB / 1.421 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.5206, allocations: 5.973 MB / 1.427 GB, free: 9.859 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003141/0.5238, allocations: 0.8438 MB / 1.428 GB, free: 9.016 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007277/0.5311, allocations: 1.487 MB / 1.43 GB, free: 7.527 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004708/0.5358, allocations: 2.2 MB / 1.432 GB, free: 5.32 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009413/0.5452, allocations: 3.521 MB / 1.435 GB, free: 1.785 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01958/0.5648, allocations: 12.23 MB / 1.447 GB, free: 5.52 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5648, allocations: 0 / 1.447 GB, free: 5.52 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5648, allocations: 0 / 1.447 GB, free: 5.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004902/0.5653, allocations: 0 / 1.447 GB, free: 5.52 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.02505/0.5903, allocations: 7.857 MB / 1.455 GB, free: 13.59 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.5904, allocations: 16.03 kB / 1.455 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.596, allocations: 0.8828 MB / 1.456 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.6151, allocations: 6.383 MB / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/0.6155, allocations: 411.4 kB / 1.462 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.6176, allocations: 0.5467 MB / 1.463 GB, free: 5.281 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.6379, allocations: 9.139 MB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.6382, allocations: 23.83 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/0.6401, allocations: 232 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.6403, allocations: 160 kB / 1.472 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.6573, allocations: 6.52 MB / 1.478 GB, free: 4.707 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.05056/0.7079, allocations: 22.49 MB / 1.5 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.7144, allocations: 3.426 MB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/0.719, allocations: 2.571 MB / 1.506 GB, free: 7.828 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.7197, allocations: 150 kB / 1.506 GB, free: 7.68 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.447e-05/0.7198, allocations: 72.61 kB / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 6.331e-06/0.7198, allocations: 0 / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.0125/0.7323, allocations: 5.56 MB / 1.512 GB, free: 1.977 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.7324, allocations: 77.52 kB / 1.512 GB, free: 1.887 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00808/0.7405, allocations: 4.559 MB / 1.516 GB, free: 13.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007365/0.7412, allocations: 73.7 kB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00289/0.7441, allocations: 2.934 MB / 1.519 GB, free: 10.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/0.7458, allocations: 0.98 MB / 1.52 GB, free: 9.281 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.7471, allocations: 0.7233 MB / 1.521 GB, free: 8.551 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7473, allocations: 301.1 kB / 1.521 GB, free: 8.254 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.7502, allocations: 1.674 MB / 1.523 GB, free: 6.578 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/0.7543, allocations: 3.036 MB / 1.526 GB, free: 2.965 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.7621, allocations: 4.97 MB / 1.531 GB, free: 13.4 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-05/0.7622, allocations: 12 kB / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01126/0.7734, allocations: 5.386 MB / 1.536 GB, free: 7.953 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.7735, allocations: 24 kB / 1.536 GB, free: 7.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/0.7736, allocations: 39.98 kB / 1.536 GB, free: 7.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.7747, allocations: 421.4 kB / 1.537 GB, free: 7.473 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.7783, allocations: 0.8619 MB / 1.537 GB, free: 6.609 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/0.7849, allocations: 5.357 MB / 1.543 GB, free: 1.055 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/0.7896, allocations: 477.1 kB / 1.543 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007573/0.7904, allocations: 175.9 kB / 1.543 GB, free: 424 kB / 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.004928/0.7953, allocations: 2.284 MB / 1.545 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/0.7969, allocations: 449.1 kB / 1.546 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007589/0.8045, allocations: 4.123 MB / 1.55 GB, free: 9.496 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/0.8102, allocations: 3.62 MB / 1.553 GB, free: 5.762 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8102, allocations: 0 / 1.553 GB, free: 5.762 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00373/0.8139, allocations: 0.9943 MB / 1.554 GB, free: 4.762 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/0.8151, allocations: 55.98 kB / 1.554 GB, free: 4.707 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/0.8184, allocations: 167.9 kB / 1.555 GB, free: 4.543 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.8188, allocations: 185.6 kB / 1.555 GB, free: 4.359 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008673/0.8274, allocations: 4.202 MB / 1.559 GB, free: 104 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01027/0.8377, allocations: 6.197 MB / 1.565 GB, free: 9.82 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002486/0.8402, allocations: 1.621 MB / 1.567 GB, free: 8.184 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.006017/0.8462, allocations: 3.116 MB / 1.57 GB, free: 5.062 MB / 1.264 GB Notification: Performance of Backend: time 9.82e-07/0.8462, allocations: 0 / 1.57 GB, free: 5.062 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009396/0.8556, allocations: 3.194 MB / 1.573 GB, free: 1.84 MB / 1.264 GB Notification: Performance of SimCode: time 0.02995/0.8856, allocations: 13.81 MB / 1.586 GB, free: 4.031 MB / 1.279 GB Notification: Performance of Templates: time 0.8817/1.767, allocations: 107.8 MB / 1.691 GB, free: 203 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/jenkins1/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.095850896002958]