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.001947/0.001947, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.003011/0.003011, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.893/2.893, allocations: 476.7 MB / 0.7714 GB, free: 4.52 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.002223/0.002223, allocations: 67.28 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3868, allocations: 170 MB / 1.285 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06573/0.4526, allocations: 57.22 MB / 1.34 GB, free: 1.934 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02904/0.4816, allocations: 18.2 MB / 1.358 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.4854, allocations: 99.19 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.4889, allocations: 0.9275 MB / 1.359 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009165/0.4981, allocations: 2.682 MB / 1.362 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.503, allocations: 1.599 MB / 1.363 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02609/0.5291, allocations: 21.79 MB / 1.385 GB, free: 4.512 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.5411, allocations: 7.09 MB / 1.392 GB, free: 13.3 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.5586, allocations: 7.343 MB / 1.399 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.5741, allocations: 6.666 MB / 1.405 GB, free: 15.29 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.003594/0.5777, allocations: 0.9453 MB / 1.406 GB, free: 14.34 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00753/0.5853, allocations: 1.776 MB / 1.408 GB, free: 12.56 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.005563/0.5908, allocations: 2.43 MB / 1.41 GB, free: 10.12 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.01271/0.6035, allocations: 4.711 MB / 1.415 GB, free: 5.395 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.02117/0.6247, allocations: 13.28 MB / 1.428 GB, free: 8.074 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6247, allocations: 0 / 1.428 GB, free: 8.074 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6247, allocations: 0 / 1.428 GB, free: 8.074 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004822/0.6252, allocations: 0 / 1.428 GB, free: 8.074 MB / 1.123 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.02536/0.6506, allocations: 8.638 MB / 1.436 GB, free: 15.35 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6506, allocations: 8.031 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.656, allocations: 0.9606 MB / 1.437 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.6722, allocations: 6.761 MB / 1.444 GB, free: 7.535 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/0.6727, allocations: 468.3 kB / 1.444 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/0.6752, allocations: 0.6015 MB / 1.445 GB, free: 6.473 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.6975, allocations: 9.036 MB / 1.454 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.6977, allocations: 19.83 kB / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/0.6988, allocations: 268 kB / 1.454 GB, free: 12.83 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.699, allocations: 176 kB / 1.454 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.7165, allocations: 7.465 MB / 1.461 GB, free: 5.188 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.06284/0.7793, allocations: 35.98 MB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00728/0.7866, allocations: 4.006 MB / 1.501 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/0.7918, allocations: 3.032 MB / 1.503 GB, free: 8.09 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.7928, allocations: 218.2 kB / 1.504 GB, free: 7.875 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004392/0.7972, allocations: 2.394 MB / 1.506 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003016/0.8002, allocations: 401 kB / 1.506 GB, free: 5.051 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.729e-05/0.8002, allocations: 0 / 1.506 GB, free: 5.051 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01436/0.8146, allocations: 6.993 MB / 1.513 GB, free: 14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.8147, allocations: 93.83 kB / 1.513 GB, free: 13.9 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/0.8248, allocations: 5.674 MB / 1.519 GB, free: 8.246 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0009167/0.8258, allocations: 89.7 kB / 1.519 GB, free: 8.152 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00394/0.8297, allocations: 3.275 MB / 1.522 GB, free: 4.855 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/0.8318, allocations: 1.166 MB / 1.523 GB, free: 3.68 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.8333, allocations: 0.8624 MB / 1.524 GB, free: 2.805 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8334, allocations: 313 kB / 1.524 GB, free: 2.496 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.8371, allocations: 2.167 MB / 1.527 GB, free: 328 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.8421, allocations: 3.693 MB / 1.53 GB, free: 11.93 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/0.8518, allocations: 6.327 MB / 1.536 GB, free: 4.887 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/0.8518, allocations: 12 kB / 1.536 GB, free: 4.875 MB / 1.233 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01385/0.8657, allocations: 6.79 MB / 1.543 GB, free: 14.04 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.8658, allocations: 53.7 kB / 1.543 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/0.8658, allocations: 51.98 kB / 1.543 GB, free: 13.93 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.8669, allocations: 428 kB / 1.543 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.871, allocations: 1.014 MB / 1.544 GB, free: 12.49 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.8777, allocations: 5.484 MB / 1.55 GB, free: 6.781 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/0.8834, allocations: 291.7 kB / 1.55 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.8845, allocations: 220 kB / 1.55 GB, free: 6.281 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.006129/0.8906, allocations: 2.474 MB / 1.553 GB, free: 3.797 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/0.8926, allocations: 0.5551 MB / 1.553 GB, free: 3.238 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.9029, allocations: 5.27 MB / 1.558 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.9029, allocations: 32 kB / 1.558 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.9029, allocations: 4 kB / 1.558 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007544/0.9105, allocations: 4.52 MB / 1.563 GB, free: 9.25 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/0.9371, allocations: 12.02 MB / 1.575 GB, free: 13.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.9371, allocations: 0 / 1.575 GB, free: 13.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/0.9401, allocations: 0.6438 MB / 1.575 GB, free: 12.44 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009446/0.941, allocations: 373.5 kB / 1.576 GB, free: 12.07 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003627/0.9414, allocations: 83.95 kB / 1.576 GB, free: 11.99 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.9477, allocations: 5.406 MB / 1.581 GB, free: 6.363 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9477, allocations: 3.938 kB / 1.581 GB, free: 6.359 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.9618, allocations: 7.794 MB / 1.589 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004561/0.9664, allocations: 1.147 MB / 1.59 GB, free: 13.31 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/0.9681, allocations: 67.92 kB / 1.59 GB, free: 13.25 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/0.9722, allocations: 191.9 kB / 1.59 GB, free: 13.06 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/0.9728, allocations: 210.1 kB / 1.59 GB, free: 12.85 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004194/0.9732, allocations: 139.9 kB / 1.59 GB, free: 12.71 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007966/0.9811, allocations: 3.967 MB / 1.594 GB, free: 8.77 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9811, allocations: 0 / 1.594 GB, free: 8.77 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00911/0.9902, allocations: 2.023 MB / 1.596 GB, free: 6.742 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.001831/0.9921, allocations: 481.3 kB / 1.597 GB, free: 6.266 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.002, allocations: 5.24 MB / 1.602 GB, free: 0.9727 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.002, allocations: 4 kB / 1.602 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.8149/1.817, allocations: 2.372 MB / 1.604 GB, free: 298.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01899/1.836, allocations: 3.387 MB / 1.607 GB, free: 298.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/1.869, allocations: 14.23 MB / 1.621 GB, free: 293.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005595/1.874, allocations: 4.555 MB / 1.626 GB, free: 291.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/1.877, allocations: 494 kB / 1.626 GB, free: 291.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.423e-06/1.877, allocations: 0 / 1.626 GB, free: 291.5 MB / 1.295 GB Notification: Performance of Templates: time 0.2051/2.082, allocations: 188.5 MB / 1.81 GB, free: 114.1 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: 31.79419744599727]