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.001289/0.001289, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001488/0.001488, allocations: 213 kB / 22.99 MB, free: 4.957 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.003102/0.003102, allocations: 65.91 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3578, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.052/0.4098, allocations: 45.48 MB / 1.371 GB, free: 3.328 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.4303, allocations: 12.96 MB / 1.384 GB, free: 6.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.4332, allocations: 91.31 kB / 1.384 GB, free: 6.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.4359, allocations: 0.8148 MB / 1.385 GB, free: 5.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007423/0.4433, allocations: 2.402 MB / 1.387 GB, free: 3.016 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.4474, allocations: 1.359 MB / 1.389 GB, free: 1.664 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02267/0.4701, allocations: 20.14 MB / 1.408 GB, free: 13.47 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.4807, allocations: 6.463 MB / 1.415 GB, free: 6.879 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01509/0.4958, allocations: 6.934 MB / 1.421 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.5068, allocations: 5.973 MB / 1.427 GB, free: 9.969 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002986/0.5097, allocations: 0.8438 MB / 1.428 GB, free: 9.125 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006422/0.5162, allocations: 1.487 MB / 1.43 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004064/0.5202, allocations: 2.204 MB / 1.432 GB, free: 5.426 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008432/0.5287, allocations: 3.518 MB / 1.435 GB, free: 1.895 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/0.5461, allocations: 12.22 MB / 1.447 GB, free: 5.633 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.5461, allocations: 4 kB / 1.447 GB, free: 5.629 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5461, allocations: 0 / 1.447 GB, free: 5.629 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003955/0.5465, allocations: 4 kB / 1.447 GB, free: 5.625 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.02187/0.5684, allocations: 7.863 MB / 1.455 GB, free: 13.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5684, allocations: 8.031 kB / 1.455 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.5737, allocations: 0.8828 MB / 1.456 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.5905, allocations: 6.383 MB / 1.462 GB, free: 6.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004968/0.591, allocations: 419 kB / 1.462 GB, free: 5.93 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002265/0.5933, allocations: 0.5429 MB / 1.463 GB, free: 5.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/0.6155, allocations: 9.135 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/0.6158, allocations: 23.81 kB / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001797/0.6176, allocations: 240 kB / 1.472 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.6178, allocations: 163.9 kB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.6334, allocations: 6.508 MB / 1.478 GB, free: 4.816 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.04786/0.6813, allocations: 22.49 MB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.6879, allocations: 3.429 MB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/0.6925, allocations: 2.571 MB / 1.506 GB, free: 7.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/0.6933, allocations: 153.9 kB / 1.506 GB, free: 7.777 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.6934, allocations: 68.67 kB / 1.507 GB, free: 7.699 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 6.492e-06/0.6934, allocations: 0 / 1.507 GB, free: 7.699 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01247/0.7059, allocations: 5.56 MB / 1.512 GB, free: 2.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.7059, allocations: 81.52 kB / 1.512 GB, free: 1.984 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/0.7147, allocations: 4.551 MB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005675/0.7153, allocations: 81.7 kB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002916/0.7182, allocations: 2.922 MB / 1.519 GB, free: 10.38 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.7198, allocations: 0.98 MB / 1.52 GB, free: 9.391 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.7215, allocations: 0.7273 MB / 1.521 GB, free: 8.656 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7216, allocations: 305.1 kB / 1.521 GB, free: 8.355 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.7251, allocations: 1.67 MB / 1.523 GB, free: 6.684 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004925/0.73, allocations: 3.036 MB / 1.526 GB, free: 3.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008097/0.7381, allocations: 4.978 MB / 1.531 GB, free: 13.5 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/0.7382, allocations: 12 kB / 1.531 GB, free: 13.49 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0105/0.7487, allocations: 5.382 MB / 1.536 GB, free: 8.055 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.7487, allocations: 24 kB / 1.536 GB, free: 8.031 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-05/0.7488, allocations: 44.12 kB / 1.536 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.7499, allocations: 413.3 kB / 1.537 GB, free: 7.578 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.7532, allocations: 0.8618 MB / 1.537 GB, free: 6.715 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.7603, allocations: 5.357 MB / 1.543 GB, free: 1.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00579/0.766, allocations: 477 kB / 1.543 GB, free: 0.6914 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009304/0.767, allocations: 184 kB / 1.543 GB, free: 0.5117 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.005597/0.7726, allocations: 2.281 MB / 1.545 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/0.7745, allocations: 453.1 kB / 1.546 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/0.7835, allocations: 4.115 MB / 1.55 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/0.7836, allocations: 27.98 kB / 1.55 GB, free: 9.574 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.7836, allocations: 4 kB / 1.55 GB, free: 9.57 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006131/0.7897, allocations: 3.624 MB / 1.553 GB, free: 5.832 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/0.8124, allocations: 8.889 MB / 1.562 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.8124, allocations: 4 kB / 1.562 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.8149, allocations: 0.5039 MB / 1.563 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.8159, allocations: 371.6 kB / 1.563 GB, free: 11.92 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003905/0.8163, allocations: 83.89 kB / 1.563 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.8227, allocations: 5.295 MB / 1.568 GB, free: 6.344 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.8228, allocations: 12.06 kB / 1.568 GB, free: 6.332 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.8344, allocations: 6.187 MB / 1.574 GB, free: 15.97 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003728/0.8381, allocations: 0.9905 MB / 1.575 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/0.8394, allocations: 63.98 kB / 1.575 GB, free: 14.92 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/0.8429, allocations: 159.9 kB / 1.576 GB, free: 14.76 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/0.8433, allocations: 185.5 kB / 1.576 GB, free: 14.58 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004313/0.8437, allocations: 131.9 kB / 1.576 GB, free: 14.45 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006446/0.8502, allocations: 3.112 MB / 1.579 GB, free: 11.33 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8502, allocations: 0 / 1.579 GB, free: 11.33 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007106/0.8573, allocations: 1.906 MB / 1.581 GB, free: 9.422 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.001474/0.8588, allocations: 466 kB / 1.581 GB, free: 8.953 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007862/0.8666, allocations: 4.125 MB / 1.585 GB, free: 4.789 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.8666, allocations: 8.25 kB / 1.585 GB, free: 4.781 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003477/0.8701, allocations: 1.93 MB / 1.587 GB, free: 2.82 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/0.8834, allocations: 2.613 MB / 1.59 GB, free: 296 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/0.9079, allocations: 12.54 MB / 1.602 GB, free: 3.648 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6421/1.55, allocations: 3.805 MB / 1.606 GB, free: 253.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005901/1.556, allocations: 1.664 MB / 1.607 GB, free: 253.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.557, allocations: 378.2 kB / 1.608 GB, free: 253.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.203e-06/1.557, allocations: 3.25 kB / 1.608 GB, free: 253.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1363/1.694, allocations: 105.4 MB / 1.711 GB, free: 181.7 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 -s gbode -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.498088072999963]