Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001827/0.001827, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001675/0.001675, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 63.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4192, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.8914/1.311, allocations: 56.93 MB / 1.272 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02343/1.334, allocations: 18.15 MB / 1.289 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/1.338, allocations: 76.78 kB / 1.29 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/1.341, allocations: 0.9255 MB / 1.29 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009584/1.351, allocations: 2.63 MB / 1.293 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004913/1.355, allocations: 1.548 MB / 1.294 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03121/1.387, allocations: 21.31 MB / 1.315 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/1.401, allocations: 7.085 MB / 1.322 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01979/1.421, allocations: 7.253 MB / 1.329 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/1.438, allocations: 6.667 MB / 1.336 GB, free: 6.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.005068/1.443, allocations: 0.939 MB / 1.337 GB, free: 6.012 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/1.456, allocations: 1.721 MB / 1.338 GB, free: 5.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.008149/1.464, allocations: 2.438 MB / 1.341 GB, free: 4.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01713/1.481, allocations: 4.712 MB / 1.345 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02984/1.511, allocations: 13.23 MB / 1.358 GB, free: 9.867 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.511, allocations: 3.938 kB / 1.358 GB, free: 9.863 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/1.511, allocations: 0 / 1.358 GB, free: 9.863 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0006807/1.512, allocations: 0 / 1.358 GB, free: 9.863 MB / 1.029 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.03319/1.545, allocations: 8.696 MB / 1.367 GB, free: 4.109 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.545, allocations: 8.938 kB / 1.367 GB, free: 4.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006073/1.551, allocations: 0.8957 MB / 1.368 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/1.571, allocations: 6.746 MB / 1.374 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004743/1.571, allocations: 464.5 kB / 1.375 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002311/1.574, allocations: 0.5936 MB / 1.375 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/1.594, allocations: 9.036 MB / 1.384 GB, free: 3.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/1.594, allocations: 19.83 kB / 1.384 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000808/1.595, allocations: 260 kB / 1.384 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/1.595, allocations: 183.9 kB / 1.385 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.612, allocations: 7.465 MB / 1.392 GB, free: 11.82 MB / 1.061 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.07022/1.683, allocations: 36.08 MB / 1.427 GB, free: 5.695 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008581/1.691, allocations: 3.992 MB / 1.431 GB, free: 1.699 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006067/1.697, allocations: 3.046 MB / 1.434 GB, free: 14.65 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.699, allocations: 0.9582 MB / 1.435 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004822/1.704, allocations: 2.39 MB / 1.437 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00374/1.707, allocations: 405 kB / 1.438 GB, free: 10.68 MB / 1.107 GB Notification: Performance of pre-optimization done (n=317): time 1.489e-05/1.707, allocations: 0 / 1.438 GB, free: 10.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=317): time 0.0161/1.723, allocations: 7.151 MB / 1.445 GB, free: 3.441 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/1.724, allocations: 89.89 kB / 1.445 GB, free: 3.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/1.737, allocations: 5.663 MB / 1.45 GB, free: 13.7 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.738, allocations: 89.7 kB / 1.45 GB, free: 13.61 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.004601/1.743, allocations: 3.271 MB / 1.454 GB, free: 10.31 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00263/1.745, allocations: 1.174 MB / 1.455 GB, free: 9.125 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/1.747, allocations: 0.8624 MB / 1.455 GB, free: 8.25 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.747, allocations: 305.1 kB / 1.456 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.751, allocations: 2.163 MB / 1.458 GB, free: 5.777 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/1.757, allocations: 3.701 MB / 1.462 GB, free: 1.379 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/1.768, allocations: 6.323 MB / 1.468 GB, free: 10.34 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.866e-05/1.768, allocations: 12 kB / 1.468 GB, free: 10.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01473/1.782, allocations: 6.782 MB / 1.474 GB, free: 3.496 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/1.782, allocations: 54.64 kB / 1.474 GB, free: 3.438 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.854e-05/1.782, allocations: 48 kB / 1.474 GB, free: 3.391 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.784, allocations: 438.7 kB / 1.475 GB, free: 2.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/1.788, allocations: 1.002 MB / 1.476 GB, free: 1.953 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/1.795, allocations: 5.71 MB / 1.481 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00692/1.802, allocations: 283.7 kB / 1.482 GB, free: 11.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.803, allocations: 220 kB / 1.482 GB, free: 11.47 MB / 1.154 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.007317/1.81, allocations: 2.485 MB / 1.484 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00311/1.813, allocations: 0.5551 MB / 1.485 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.825, allocations: 5.251 MB / 1.49 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/1.825, allocations: 32 kB / 1.49 GB, free: 3.078 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.825, allocations: 11.94 kB / 1.49 GB, free: 3.066 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007668/1.833, allocations: 4.504 MB / 1.494 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/1.864, allocations: 11.97 MB / 1.506 GB, free: 2.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.864, allocations: 4 kB / 1.506 GB, free: 2.336 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.867, allocations: 0.6438 MB / 1.507 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/1.869, allocations: 365.3 kB / 1.507 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/1.869, allocations: 87.95 kB / 1.507 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/1.876, allocations: 5.635 MB / 1.513 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.876, allocations: 0 / 1.513 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.891, allocations: 7.776 MB / 1.52 GB, free: 3.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004948/1.896, allocations: 1.185 MB / 1.521 GB, free: 2.262 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/1.899, allocations: 67.92 kB / 1.521 GB, free: 2.195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005175/1.904, allocations: 195.8 kB / 1.522 GB, free: 2.004 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008847/1.905, allocations: 194.2 kB / 1.522 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008015/1.905, allocations: 143.9 kB / 1.522 GB, free: 1.672 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01053/1.916, allocations: 3.963 MB / 1.526 GB, free: 13.73 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.11e-07/1.916, allocations: 3.938 kB / 1.526 GB, free: 13.73 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01144/1.927, allocations: 2.023 MB / 1.528 GB, free: 11.7 MB / 1.201 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.002397/1.93, allocations: 498.5 kB / 1.528 GB, free: 11.21 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.942, allocations: 5.234 MB / 1.533 GB, free: 5.926 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.942, allocations: 4.062 kB / 1.533 GB, free: 5.922 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/1.947, allocations: 2.373 MB / 1.536 GB, free: 3.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02471/1.972, allocations: 3.394 MB / 1.539 GB, free: 220 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/2.011, allocations: 14.19 MB / 1.553 GB, free: 1.961 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009489/2.02, allocations: 4.628 MB / 1.557 GB, free: 13.3 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00902/2.029, allocations: 2.081 MB / 1.559 GB, free: 11.22 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.032, allocations: 467.2 kB / 1.56 GB, free: 10.77 MB / 1.232 GB Notification: Performance of SimCode: time 1.323e-06/2.032, allocations: 0 / 1.56 GB, free: 10.77 MB / 1.232 GB Notification: Performance of Templates: time 0.2154/2.247, allocations: 119 MB / 1.676 GB, free: 4.711 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.555559971369803]