Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001413/0.001413, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001857/0.001857, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.629/1.629, 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 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 3.042/3.042, allocations: 475.9 MB / 0.7699 GB, free: 4.824 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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [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.002163/0.002163, allocations: 75.2 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4532, allocations: 169.9 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0637/0.5169, allocations: 51.59 MB / 1.333 GB, free: 8.293 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.5454, allocations: 16.83 MB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.5494, allocations: 103.2 kB / 1.35 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.5529, allocations: 0.8924 MB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009805/0.5627, allocations: 2.674 MB / 1.353 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.5677, allocations: 1.583 MB / 1.355 GB, free: 2.164 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02597/0.5937, allocations: 22 MB / 1.376 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.6078, allocations: 7.097 MB / 1.383 GB, free: 4.887 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0221/0.6299, allocations: 7.367 MB / 1.391 GB, free: 13.54 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01825/0.6481, allocations: 6.982 MB / 1.397 GB, free: 6.531 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004415/0.6525, allocations: 0.9414 MB / 1.398 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008843/0.6614, allocations: 1.577 MB / 1.4 GB, free: 4.012 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005976/0.6674, allocations: 2.43 MB / 1.402 GB, free: 1.574 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01351/0.6809, allocations: 3.856 MB / 1.406 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02605/0.7069, allocations: 13.33 MB / 1.419 GB, free: 340 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.7069, allocations: 4 kB / 1.419 GB, free: 336 kB / 1.107 GB Notification: Performance of FrontEnd: time 3.497e-06/0.7069, allocations: 0 / 1.419 GB, free: 336 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.001007/0.7079, allocations: 0 / 1.419 GB, free: 336 kB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03911/0.7471, allocations: 8.634 MB / 1.427 GB, free: 7.605 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7471, allocations: 15.97 kB / 1.427 GB, free: 7.59 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006745/0.7538, allocations: 0.9528 MB / 1.428 GB, free: 6.633 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/0.7728, allocations: 6.763 MB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005768/0.7733, allocations: 464.3 kB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.7761, allocations: 0.5937 MB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.8019, allocations: 10.1 MB / 1.446 GB, free: 4.055 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.802, allocations: 23.77 kB / 1.446 GB, free: 4.031 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/0.8031, allocations: 260 kB / 1.446 GB, free: 3.777 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.8033, allocations: 188 kB / 1.446 GB, free: 3.594 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.8228, allocations: 7.437 MB / 1.454 GB, free: 12.15 MB / 1.154 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.06838/0.8912, allocations: 26.34 MB / 1.479 GB, free: 1.359 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.9022, allocations: 3.988 MB / 1.483 GB, free: 13.37 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006483/0.9087, allocations: 3.03 MB / 1.486 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.9099, allocations: 206.3 kB / 1.486 GB, free: 10.13 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006472/0.9164, allocations: 3.452 MB / 1.49 GB, free: 6.387 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003408/0.9198, allocations: 317.8 kB / 1.49 GB, free: 6.074 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 1.991e-05/0.9198, allocations: 0 / 1.49 GB, free: 6.074 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01881/0.9386, allocations: 6.953 MB / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.9387, allocations: 89.89 kB / 1.497 GB, free: 14.97 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/0.9514, allocations: 4.969 MB / 1.502 GB, free: 9.996 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/0.9525, allocations: 93.7 kB / 1.502 GB, free: 9.898 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.005083/0.9576, allocations: 3.279 MB / 1.505 GB, free: 6.598 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002634/0.9602, allocations: 1.174 MB / 1.506 GB, free: 5.414 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003323/0.9635, allocations: 0.8624 MB / 1.507 GB, free: 4.539 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9637, allocations: 305.1 kB / 1.507 GB, free: 4.238 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004768/0.9685, allocations: 2.192 MB / 1.509 GB, free: 2.031 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/0.9749, allocations: 3.822 MB / 1.513 GB, free: 13.48 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.9866, allocations: 6.331 MB / 1.519 GB, free: 6.434 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.289e-05/0.9866, allocations: 16 kB / 1.519 GB, free: 6.418 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01725/1.004, allocations: 6.75 MB / 1.526 GB, free: 15.61 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.004, allocations: 53.7 kB / 1.526 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.004, allocations: 52.09 kB / 1.526 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/1.005, allocations: 427.9 kB / 1.526 GB, free: 15.08 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/1.01, allocations: 1.01 MB / 1.527 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/1.017, allocations: 5.368 MB / 1.533 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/1.023, allocations: 287.7 kB / 1.533 GB, free: 8.219 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.025, allocations: 223.9 kB / 1.533 GB, free: 8 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.006963/1.032, allocations: 2.475 MB / 1.536 GB, free: 5.512 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002515/1.034, allocations: 0.493 MB / 1.536 GB, free: 5.016 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.047, allocations: 5.211 MB / 1.541 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/1.047, allocations: 28 kB / 1.541 GB, free: 15.72 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/1.047, allocations: 4 kB / 1.541 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008419/1.055, allocations: 4.52 MB / 1.546 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/1.084, allocations: 10.45 MB / 1.556 GB, free: 0.5312 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.084, allocations: 3.938 kB / 1.556 GB, free: 0.5273 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.087, allocations: 0.6438 MB / 1.556 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/1.088, allocations: 365.4 kB / 1.557 GB, free: 15.52 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005396/1.089, allocations: 87.95 kB / 1.557 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/1.096, allocations: 5.283 MB / 1.562 GB, free: 9.957 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.096, allocations: 0 / 1.562 GB, free: 9.957 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/1.115, allocations: 7.689 MB / 1.57 GB, free: 2.172 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006403/1.121, allocations: 1.073 MB / 1.571 GB, free: 1.094 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002382/1.124, allocations: 67.98 kB / 1.571 GB, free: 1.027 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/1.128, allocations: 191.9 kB / 1.571 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009111/1.129, allocations: 210 kB / 1.571 GB, free: 0.6328 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007461/1.13, allocations: 143.9 kB / 1.571 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.008476/1.138, allocations: 3.384 MB / 1.575 GB, free: 13.11 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.51e-07/1.138, allocations: 0 / 1.575 GB, free: 13.11 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01008/1.149, allocations: 2.089 MB / 1.577 GB, free: 11.02 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001999/1.151, allocations: 472.3 kB / 1.577 GB, free: 10.55 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.163, allocations: 5.27 MB / 1.582 GB, free: 5.219 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.163, allocations: 7.938 kB / 1.582 GB, free: 5.211 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/1.168, allocations: 2.365 MB / 1.584 GB, free: 2.816 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01721/1.185, allocations: 2.769 MB / 1.587 GB, free: 140 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/1.221, allocations: 13.98 MB / 1.601 GB, free: 2.094 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.9297/2.151, allocations: 4.14 MB / 1.605 GB, free: 292.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.008675/2.159, allocations: 1.86 MB / 1.607 GB, free: 292.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/2.162, allocations: 433.8 kB / 1.607 GB, free: 292.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.923e-06/2.162, allocations: 0 / 1.607 GB, free: 292.1 MB / 1.295 GB Notification: Performance of Templates: time 0.1623/2.324, allocations: 113.1 MB / 1.718 GB, free: 204.5 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.984670275822282]