Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00187/0.00187, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002243/0.002243, allocations: 218.2 kB / 22.29 MB, free: 5.281 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.574/1.574, allocations: 230.7 MB / 256.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.451/3.451, allocations: 0.5107 GB / 0.8159 GB, free: 17.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002132/0.002132, allocations: 63.03 kB / 1.186 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4568, allocations: 181.9 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06755/0.5243, allocations: 51.66 MB / 1.414 GB, free: 9.59 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03105/0.5553, allocations: 16.86 MB / 1.431 GB, free: 8.684 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.5594, allocations: 103.2 kB / 1.431 GB, free: 8.582 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003884/0.5633, allocations: 0.8924 MB / 1.432 GB, free: 7.684 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.5737, allocations: 2.663 MB / 1.434 GB, free: 5.008 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00689/0.5806, allocations: 1.57 MB / 1.436 GB, free: 3.445 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.03465/0.6153, allocations: 22.04 MB / 1.458 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01747/0.6327, allocations: 7.09 MB / 1.464 GB, free: 6.133 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/0.654, allocations: 7.587 MB / 1.472 GB, free: 14.56 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01666/0.6707, allocations: 6.893 MB / 1.479 GB, free: 7.645 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.004452/0.6751, allocations: 0.9375 MB / 1.48 GB, free: 6.707 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009241/0.6844, allocations: 1.577 MB / 1.481 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.006193/0.6906, allocations: 2.434 MB / 1.483 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.7043, allocations: 3.872 MB / 1.487 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02669/0.7309, allocations: 13.36 MB / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.731, allocations: 0 / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.026e-06/0.731, allocations: 0 / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000934/0.7319, allocations: 0 / 1.5 GB, free: 1.395 MB / 1.186 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.03606/0.768, allocations: 8.638 MB / 1.509 GB, free: 8.668 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.768, allocations: 12.03 kB / 1.509 GB, free: 8.656 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.7748, allocations: 0.9488 MB / 1.51 GB, free: 7.703 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.7943, allocations: 6.791 MB / 1.516 GB, free: 0.832 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006647/0.795, allocations: 468.3 kB / 1.517 GB, free: 380 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/0.7981, allocations: 0.5937 MB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/0.8282, allocations: 10.09 MB / 1.527 GB, free: 5.102 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004076/0.8286, allocations: 19.88 kB / 1.527 GB, free: 5.082 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/0.8313, allocations: 256 kB / 1.527 GB, free: 4.832 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.8316, allocations: 187.8 kB / 1.528 GB, free: 4.648 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.8528, allocations: 7.449 MB / 1.535 GB, free: 13.19 MB / 1.232 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.06554/0.9183, allocations: 26.37 MB / 1.561 GB, free: 2.379 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009796/0.9281, allocations: 3.965 MB / 1.565 GB, free: 14.41 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006978/0.9351, allocations: 3.026 MB / 1.567 GB, free: 11.38 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.9363, allocations: 202.3 kB / 1.568 GB, free: 11.18 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006349/0.9427, allocations: 3.448 MB / 1.571 GB, free: 7.438 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003282/0.9459, allocations: 329.8 kB / 1.571 GB, free: 7.113 MB / 1.264 GB Notification: Performance of pre-optimization done (n=317): time 2.254e-05/0.946, allocations: 0 / 1.571 GB, free: 7.113 MB / 1.264 GB Notification: Performance of matching and sorting (n=317): time 0.01854/0.9645, allocations: 6.942 MB / 1.578 GB, free: 124 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.9646, allocations: 85.91 kB / 1.578 GB, free: 24 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/0.9771, allocations: 4.977 MB / 1.583 GB, free: 11.04 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/0.9781, allocations: 93.7 kB / 1.583 GB, free: 10.95 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005138/0.9833, allocations: 3.275 MB / 1.586 GB, free: 7.648 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002552/0.9858, allocations: 1.174 MB / 1.587 GB, free: 6.465 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003371/0.9892, allocations: 0.8585 MB / 1.588 GB, free: 5.594 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9894, allocations: 309.1 kB / 1.589 GB, free: 5.289 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/0.9942, allocations: 2.192 MB / 1.591 GB, free: 3.082 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006737/1.001, allocations: 3.83 MB / 1.595 GB, free: 14.52 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/1.013, allocations: 6.319 MB / 1.601 GB, free: 7.488 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.252e-05/1.013, allocations: 20 kB / 1.601 GB, free: 7.469 MB / 1.295 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01831/1.031, allocations: 6.757 MB / 1.607 GB, free: 0.6562 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/1.032, allocations: 53.7 kB / 1.607 GB, free: 0.5977 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.032, allocations: 48 kB / 1.607 GB, free: 0.5508 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/1.033, allocations: 431.6 kB / 1.608 GB, free: 128 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652/2.685, allocations: 1.004 MB / 1.609 GB, free: 224.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/2.691, allocations: 5.363 MB / 1.614 GB, free: 222.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/2.697, allocations: 285.6 kB / 1.614 GB, free: 222.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008794/2.698, allocations: 219.3 kB / 1.614 GB, free: 222.3 MB / 1.295 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.006583/2.704, allocations: 2.479 MB / 1.617 GB, free: 221.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002067/2.706, allocations: 0.4937 MB / 1.617 GB, free: 221.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/2.721, allocations: 5.209 MB / 1.622 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-05/2.721, allocations: 32.84 kB / 1.623 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/2.721, allocations: 4.375 kB / 1.623 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008755/2.729, allocations: 4.524 MB / 1.627 GB, free: 217.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/2.753, allocations: 10.44 MB / 1.637 GB, free: 214 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/2.753, allocations: 1.766 kB / 1.637 GB, free: 214 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/2.756, allocations: 0.6435 MB / 1.638 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009462/2.757, allocations: 374.4 kB / 1.638 GB, free: 213.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/2.757, allocations: 82.45 kB / 1.638 GB, free: 213.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/2.762, allocations: 5.285 MB / 1.643 GB, free: 210 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.762, allocations: 1.469 kB / 1.643 GB, free: 210 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/2.776, allocations: 7.685 MB / 1.651 GB, free: 207.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.779, allocations: 1.077 MB / 1.652 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002433/2.782, allocations: 65.16 kB / 1.652 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00513/2.787, allocations: 201.5 kB / 1.652 GB, free: 206.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/2.788, allocations: 208.5 kB / 1.652 GB, free: 206.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006236/2.788, allocations: 143.2 kB / 1.653 GB, free: 206.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008584/2.797, allocations: 3.385 MB / 1.656 GB, free: 205.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/2.797, allocations: 0 / 1.656 GB, free: 205.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008845/2.806, allocations: 2.094 MB / 1.658 GB, free: 205.1 MB / 1.295 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.001771/2.807, allocations: 484.2 kB / 1.658 GB, free: 204.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009212/2.817, allocations: 5.257 MB / 1.663 GB, free: 203 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.817, allocations: 0 / 1.663 GB, free: 203 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/2.821, allocations: 2.37 MB / 1.666 GB, free: 202 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01451/2.835, allocations: 2.759 MB / 1.668 GB, free: 200 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/2.862, allocations: 13.97 MB / 1.682 GB, free: 186.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005451/2.868, allocations: 4.142 MB / 1.686 GB, free: 182 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006831/2.874, allocations: 1.873 MB / 1.688 GB, free: 180.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/2.876, allocations: 436.3 kB / 1.688 GB, free: 179.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.372e-06/2.876, allocations: 0 / 1.688 GB, free: 179.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1425/3.019, allocations: 103.1 MB / 1.789 GB, free: 78.11 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.257105922326446]