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.001355/0.001355, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00147/0.00147, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.869/2.869, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002149/0.002149, allocations: 70.28 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3668, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06029/0.4271, allocations: 51.59 MB / 1.334 GB, free: 8.219 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02569/0.4528, allocations: 16.82 MB / 1.351 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.4559, allocations: 103.1 kB / 1.351 GB, free: 7.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.4589, allocations: 0.8963 MB / 1.352 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008029/0.467, allocations: 2.667 MB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.4714, allocations: 1.578 MB / 1.356 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02441/0.4958, allocations: 22 MB / 1.377 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.5071, allocations: 7.105 MB / 1.384 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01627/0.5233, allocations: 7.373 MB / 1.391 GB, free: 13.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01349/0.5368, allocations: 6.982 MB / 1.398 GB, free: 6.457 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003396/0.5402, allocations: 0.9375 MB / 1.399 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007223/0.5474, allocations: 1.581 MB / 1.401 GB, free: 3.938 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004647/0.5521, allocations: 2.426 MB / 1.403 GB, free: 1.504 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009122/0.5612, allocations: 3.86 MB / 1.407 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.583, allocations: 13.32 MB / 1.42 GB, free: 268 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.583, allocations: 0 / 1.42 GB, free: 268 kB / 1.107 GB Notification: Performance of FrontEnd: time 2.885e-06/0.583, allocations: 3.938 kB / 1.42 GB, free: 264 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004533/0.5834, allocations: 0 / 1.42 GB, free: 264 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.02561/0.6091, allocations: 8.63 MB / 1.428 GB, free: 7.539 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.692e-05/0.6091, allocations: 11.97 kB / 1.428 GB, free: 7.527 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007976/0.6171, allocations: 0.9528 MB / 1.429 GB, free: 6.57 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.6341, allocations: 6.773 MB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/0.6346, allocations: 464.3 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.6371, allocations: 0.5898 MB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.661, allocations: 10.1 MB / 1.447 GB, free: 3.988 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.6612, allocations: 19.83 kB / 1.447 GB, free: 3.969 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009774/0.6622, allocations: 260 kB / 1.447 GB, free: 3.715 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.6624, allocations: 187.9 kB / 1.447 GB, free: 3.531 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.6792, allocations: 7.441 MB / 1.454 GB, free: 12.08 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.06115/0.7403, allocations: 26.35 MB / 1.48 GB, free: 1.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.7482, allocations: 3.972 MB / 1.484 GB, free: 13.31 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005927/0.7541, allocations: 3.03 MB / 1.487 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.7553, allocations: 214.2 kB / 1.487 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00585/0.7611, allocations: 3.452 MB / 1.49 GB, free: 6.32 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002893/0.764, allocations: 317.8 kB / 1.491 GB, free: 6.008 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 1.748e-05/0.764, allocations: 0 / 1.491 GB, free: 6.008 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01664/0.7806, allocations: 6.95 MB / 1.498 GB, free: 15.01 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.7807, allocations: 89.89 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/0.7921, allocations: 4.977 MB / 1.503 GB, free: 9.926 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0009622/0.793, allocations: 89.7 kB / 1.503 GB, free: 9.832 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00434/0.7974, allocations: 3.279 MB / 1.506 GB, free: 6.531 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/0.7996, allocations: 1.17 MB / 1.507 GB, free: 5.352 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/0.8029, allocations: 0.8624 MB / 1.508 GB, free: 4.477 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8031, allocations: 301.1 kB / 1.508 GB, free: 4.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/0.8081, allocations: 2.192 MB / 1.51 GB, free: 1.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/0.8148, allocations: 3.823 MB / 1.514 GB, free: 13.42 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.8262, allocations: 6.335 MB / 1.52 GB, free: 6.367 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.028e-05/0.8263, allocations: 12 kB / 1.52 GB, free: 6.355 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01525/0.8415, allocations: 6.746 MB / 1.527 GB, free: 15.55 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.8416, allocations: 57.7 kB / 1.527 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.8417, allocations: 56.03 kB / 1.527 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.8429, allocations: 429.3 kB / 1.527 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.8472, allocations: 1.006 MB / 1.528 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.854, allocations: 5.368 MB / 1.533 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/0.8596, allocations: 291.5 kB / 1.534 GB, free: 8.152 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/0.8607, allocations: 223.9 kB / 1.534 GB, free: 7.934 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.006381/0.8671, allocations: 2.481 MB / 1.536 GB, free: 5.441 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00251/0.8696, allocations: 0.4969 MB / 1.537 GB, free: 4.941 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.8818, allocations: 5.199 MB / 1.542 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-05/0.8819, allocations: 36 kB / 1.542 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/0.8819, allocations: 4 kB / 1.542 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008042/0.89, allocations: 4.52 MB / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/0.9161, allocations: 10.44 MB / 1.557 GB, free: 476 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.9161, allocations: 7.938 kB / 1.557 GB, free: 468 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/0.9192, allocations: 0.6438 MB / 1.557 GB, free: 15.81 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009435/0.9201, allocations: 361.4 kB / 1.558 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004058/0.9205, allocations: 83.95 kB / 1.558 GB, free: 15.37 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/0.9269, allocations: 5.283 MB / 1.563 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9269, allocations: 4 kB / 1.563 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.9414, allocations: 7.687 MB / 1.57 GB, free: 2.105 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004187/0.9456, allocations: 1.073 MB / 1.571 GB, free: 1.027 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/0.9472, allocations: 67.98 kB / 1.571 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/0.9511, allocations: 191.8 kB / 1.572 GB, free: 0.7734 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005632/0.9517, allocations: 214 kB / 1.572 GB, free: 0.5625 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004933/0.9522, allocations: 135.9 kB / 1.572 GB, free: 440 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.007944/0.9601, allocations: 3.388 MB / 1.575 GB, free: 13.05 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.9601, allocations: 0 / 1.575 GB, free: 13.05 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008833/0.9689, allocations: 2.085 MB / 1.577 GB, free: 10.96 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.00168/0.9706, allocations: 472.8 kB / 1.578 GB, free: 10.48 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.9811, allocations: 5.274 MB / 1.583 GB, free: 5.152 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.9811, allocations: 11.88 kB / 1.583 GB, free: 5.141 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/0.9857, allocations: 2.357 MB / 1.585 GB, free: 2.754 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/1.001, allocations: 2.763 MB / 1.588 GB, free: 80 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.034, allocations: 14.02 MB / 1.602 GB, free: 1.98 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8237/1.858, allocations: 4.064 MB / 1.606 GB, free: 292.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/1.861, allocations: 463.2 kB / 1.606 GB, free: 292.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.903e-06/1.861, allocations: 0 / 1.606 GB, free: 292.4 MB / 1.295 GB Notification: Performance of Templates: time 0.233/2.094, allocations: 182.6 MB / 1.784 GB, free: 136.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/jenkins1/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: 28.39592260774225]