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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 190 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 225.6 MB / 251 MB, free: 13.01 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 2.908/2.908, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06535/1.255, allocations: 56.95 MB / 1.33 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02993/1.285, allocations: 18.17 MB / 1.348 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004789/1.289, allocations: 99.19 kB / 1.348 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004224/1.294, allocations: 0.9274 MB / 1.349 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/1.304, allocations: 2.664 MB / 1.351 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005347/1.309, allocations: 1.597 MB / 1.353 GB, free: 3.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02846/1.338, allocations: 21.8 MB / 1.374 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/1.351, allocations: 7.088 MB / 1.381 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01988/1.371, allocations: 7.328 MB / 1.388 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01638/1.387, allocations: 6.67 MB / 1.395 GB, free: 8.492 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004593/1.392, allocations: 0.9375 MB / 1.396 GB, free: 7.555 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/1.403, allocations: 1.741 MB / 1.397 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006296/1.409, allocations: 2.426 MB / 1.4 GB, free: 3.379 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0165/1.425, allocations: 4.715 MB / 1.404 GB, free: 14.64 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0285/1.454, allocations: 13.23 MB / 1.417 GB, free: 1.371 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.454, allocations: 0 / 1.417 GB, free: 1.371 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.953e-06/1.454, allocations: 0 / 1.417 GB, free: 1.371 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0006525/1.455, allocations: 0 / 1.417 GB, free: 1.371 MB / 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.03409/1.489, allocations: 8.634 MB / 1.426 GB, free: 8.652 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/1.489, allocations: 12.03 kB / 1.426 GB, free: 8.641 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006516/1.495, allocations: 0.8942 MB / 1.427 GB, free: 7.742 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01953/1.515, allocations: 6.773 MB / 1.433 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/1.515, allocations: 460.4 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003461/1.519, allocations: 0.5976 MB / 1.434 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/1.55, allocations: 9.036 MB / 1.443 GB, free: 6.473 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004128/1.55, allocations: 23.8 kB / 1.443 GB, free: 6.449 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/1.553, allocations: 260 kB / 1.443 GB, free: 6.195 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/1.553, allocations: 187.9 kB / 1.443 GB, free: 6.012 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/1.575, allocations: 7.461 MB / 1.451 GB, free: 14.54 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.07023/1.645, allocations: 35.99 MB / 1.486 GB, free: 8.477 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/1.653, allocations: 3.998 MB / 1.49 GB, free: 4.477 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00617/1.659, allocations: 3.024 MB / 1.493 GB, free: 1.449 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.661, allocations: 226.2 kB / 1.493 GB, free: 1.227 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006815/1.668, allocations: 2.39 MB / 1.495 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004532/1.672, allocations: 397 kB / 1.496 GB, free: 14.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 2.183e-05/1.672, allocations: 3.938 kB / 1.496 GB, free: 14.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01793/1.69, allocations: 7 MB / 1.503 GB, free: 7.355 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/1.69, allocations: 85.91 kB / 1.503 GB, free: 7.258 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/1.705, allocations: 5.682 MB / 1.508 GB, free: 1.598 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.706, allocations: 89.7 kB / 1.508 GB, free: 1.504 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.004938/1.711, allocations: 3.267 MB / 1.511 GB, free: 14.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/1.713, allocations: 1.174 MB / 1.513 GB, free: 13.03 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003509/1.717, allocations: 0.8624 MB / 1.513 GB, free: 12.15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.717, allocations: 309.1 kB / 1.514 GB, free: 11.85 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/1.722, allocations: 2.16 MB / 1.516 GB, free: 9.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006313/1.728, allocations: 3.701 MB / 1.519 GB, free: 5.281 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/1.742, allocations: 6.315 MB / 1.526 GB, free: 14.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.742, allocations: 16 kB / 1.526 GB, free: 14.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0188/1.761, allocations: 6.786 MB / 1.532 GB, free: 7.398 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.761, allocations: 61.88 kB / 1.532 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.997e-05/1.762, allocations: 52 kB / 1.532 GB, free: 7.281 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.763, allocations: 438.9 kB / 1.533 GB, free: 6.848 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/1.767, allocations: 0.9983 MB / 1.534 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007283/1.774, allocations: 5.495 MB / 1.539 GB, free: 128 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006354/1.781, allocations: 287.5 kB / 1.539 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.782, allocations: 220 kB / 1.54 GB, free: 15.63 MB / 1.248 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.007028/1.789, allocations: 2.477 MB / 1.542 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/1.792, allocations: 0.5512 MB / 1.543 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.805, allocations: 5.259 MB / 1.548 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/1.805, allocations: 32 kB / 1.548 GB, free: 7.238 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.805, allocations: 4 kB / 1.548 GB, free: 7.234 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008473/1.814, allocations: 4.516 MB / 1.552 GB, free: 2.613 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/1.845, allocations: 12.03 MB / 1.564 GB, free: 6.445 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.845, allocations: 4 kB / 1.564 GB, free: 6.441 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.849, allocations: 0.6438 MB / 1.565 GB, free: 5.797 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.85, allocations: 365.3 kB / 1.565 GB, free: 5.434 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005668/1.85, allocations: 87.95 kB / 1.565 GB, free: 5.348 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006753/1.857, allocations: 5.411 MB / 1.57 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.857, allocations: 4.062 kB / 1.57 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.873, allocations: 7.787 MB / 1.578 GB, free: 7.832 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004628/1.878, allocations: 1.139 MB / 1.579 GB, free: 6.688 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002219/1.88, allocations: 71.92 kB / 1.579 GB, free: 6.617 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/1.885, allocations: 191.8 kB / 1.579 GB, free: 6.43 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007226/1.886, allocations: 214 kB / 1.579 GB, free: 6.219 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000636/1.886, allocations: 144 kB / 1.58 GB, free: 6.078 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01021/1.896, allocations: 3.967 MB / 1.583 GB, free: 2.133 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.9e-07/1.896, allocations: 0 / 1.583 GB, free: 2.133 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01024/1.907, allocations: 2.02 MB / 1.585 GB, free: 108 kB / 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.002303/1.909, allocations: 0.5021 MB / 1.586 GB, free: 15.61 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.921, allocations: 5.237 MB / 1.591 GB, free: 10.32 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.921, allocations: 4 kB / 1.591 GB, free: 10.31 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005882/1.927, allocations: 2.378 MB / 1.593 GB, free: 7.906 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0217/1.949, allocations: 3.392 MB / 1.597 GB, free: 4.609 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.743/3.692, allocations: 14.17 MB / 1.61 GB, free: 299.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007303/3.699, allocations: 4.625 MB / 1.615 GB, free: 298.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.008696/3.708, allocations: 2.084 MB / 1.617 GB, free: 298.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/3.71, allocations: 466.7 kB / 1.617 GB, free: 298.1 MB / 1.295 GB Notification: Performance of SimCode: time 2.344e-06/3.71, allocations: 0 / 1.617 GB, free: 298.1 MB / 1.295 GB Notification: Performance of Templates: time 0.1681/3.878, allocations: 120.8 MB / 1.735 GB, free: 193.6 MB / 1.295 GB " [Timeout remaining time 296] 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: 15.872802618891]