Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001812/0.001812, 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.002301/0.002301, allocations: 216.2 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.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002105/0.002105, allocations: 65.75 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3893, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06924/0.4586, allocations: 51.67 MB / 1.377 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0329/0.4915, allocations: 16.85 MB / 1.393 GB, free: 13.14 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003882/0.4954, allocations: 99.19 kB / 1.393 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.4989, allocations: 0.9002 MB / 1.394 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009893/0.5088, allocations: 2.655 MB / 1.397 GB, free: 9.469 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.5139, allocations: 1.566 MB / 1.398 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02715/0.5411, allocations: 22.04 MB / 1.42 GB, free: 1.809 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.5559, allocations: 7.105 MB / 1.427 GB, free: 10.58 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.5747, allocations: 7.576 MB / 1.434 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/0.5893, allocations: 6.885 MB / 1.441 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003981/0.5933, allocations: 0.9375 MB / 1.442 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008284/0.6016, allocations: 1.581 MB / 1.443 GB, free: 9.594 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005364/0.6069, allocations: 2.437 MB / 1.446 GB, free: 7.148 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.6192, allocations: 3.872 MB / 1.449 GB, free: 3.262 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02259/0.6418, allocations: 13.36 MB / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6418, allocations: 0 / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6418, allocations: 0 / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0005199/0.6423, allocations: 0 / 1.463 GB, free: 5.859 MB / 1.154 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.02711/0.6694, allocations: 8.642 MB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6694, allocations: 8.031 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/0.6752, allocations: 0.9605 MB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01708/0.6923, allocations: 6.785 MB / 1.479 GB, free: 5.297 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005569/0.6928, allocations: 460.4 kB / 1.479 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.6955, allocations: 0.6015 MB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.72, allocations: 10.1 MB / 1.489 GB, free: 9.559 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000347/0.7204, allocations: 23.83 kB / 1.489 GB, free: 9.535 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/0.7227, allocations: 260 kB / 1.49 GB, free: 9.281 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.723, allocations: 184 kB / 1.49 GB, free: 9.102 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.7426, allocations: 7.445 MB / 1.497 GB, free: 1.648 MB / 1.186 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.05697/0.7995, allocations: 26.36 MB / 1.523 GB, free: 6.84 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006911/0.8065, allocations: 3.968 MB / 1.527 GB, free: 2.867 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005/0.8115, allocations: 3.025 MB / 1.53 GB, free: 15.83 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.8125, allocations: 202.3 kB / 1.53 GB, free: 15.63 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004987/0.8174, allocations: 3.46 MB / 1.533 GB, free: 11.88 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002652/0.8201, allocations: 317.8 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 8.165e-06/0.8201, allocations: 4 kB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01374/0.8338, allocations: 6.938 MB / 1.54 GB, free: 4.574 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.8339, allocations: 101.8 kB / 1.54 GB, free: 4.461 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008791/0.8427, allocations: 4.981 MB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008915/0.8436, allocations: 89.7 kB / 1.545 GB, free: 15.38 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003628/0.8472, allocations: 3.275 MB / 1.549 GB, free: 12.09 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002001/0.8492, allocations: 1.17 MB / 1.55 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.8507, allocations: 0.8624 MB / 1.551 GB, free: 10.03 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8508, allocations: 301.1 kB / 1.551 GB, free: 9.734 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/0.8545, allocations: 2.189 MB / 1.553 GB, free: 7.531 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005034/0.8595, allocations: 3.83 MB / 1.557 GB, free: 2.969 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009429/0.869, allocations: 6.327 MB / 1.563 GB, free: 11.92 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/0.869, allocations: 16 kB / 1.563 GB, free: 11.91 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01272/0.8817, allocations: 6.75 MB / 1.57 GB, free: 5.102 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/0.8818, allocations: 61.72 kB / 1.57 GB, free: 5.035 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.853e-05/0.8819, allocations: 48 kB / 1.57 GB, free: 4.988 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.8829, allocations: 439.4 kB / 1.57 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/0.8869, allocations: 1.002 MB / 1.571 GB, free: 3.551 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/0.8934, allocations: 5.364 MB / 1.576 GB, free: 13.99 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/0.8989, allocations: 283.6 kB / 1.577 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.8999, allocations: 219.9 kB / 1.577 GB, free: 13.5 MB / 1.279 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.005723/0.9056, allocations: 2.475 MB / 1.579 GB, free: 11.01 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/0.9075, allocations: 0.4891 MB / 1.58 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009571/0.917, allocations: 5.214 MB / 1.585 GB, free: 5.246 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/0.9171, allocations: 28.19 kB / 1.585 GB, free: 5.219 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9171, allocations: 4 kB / 1.585 GB, free: 5.215 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007327/0.9244, allocations: 4.528 MB / 1.589 GB, free: 0.582 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/0.9483, allocations: 10.44 MB / 1.599 GB, free: 6.023 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.9483, allocations: 7.938 kB / 1.599 GB, free: 6.016 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/0.9513, allocations: 0.6399 MB / 1.6 GB, free: 5.375 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.9522, allocations: 370.8 kB / 1.6 GB, free: 5.008 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/0.9525, allocations: 83.95 kB / 1.6 GB, free: 4.926 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504/2.457, allocations: 5.269 MB / 1.606 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/2.457, allocations: 5.344 kB / 1.606 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/2.475, allocations: 7.676 MB / 1.613 GB, free: 256.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004475/2.479, allocations: 1.072 MB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001724/2.481, allocations: 74.81 kB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004054/2.485, allocations: 193 kB / 1.614 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/2.486, allocations: 211.2 kB / 1.615 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000455/2.486, allocations: 140.7 kB / 1.615 GB, free: 256.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00809/2.494, allocations: 3.387 MB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.1e-07/2.494, allocations: 2.156 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009303/2.503, allocations: 2.093 MB / 1.62 GB, free: 254.8 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.001635/2.505, allocations: 473 kB / 1.621 GB, free: 254.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01011/2.515, allocations: 5.261 MB / 1.626 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.515, allocations: 10.75 kB / 1.626 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/2.52, allocations: 2.362 MB / 1.628 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01596/2.536, allocations: 2.777 MB / 1.631 GB, free: 251.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/2.564, allocations: 14.03 MB / 1.644 GB, free: 245.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/2.568, allocations: 4.07 MB / 1.648 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/2.57, allocations: 463 kB / 1.649 GB, free: 244 MB / 1.295 GB Notification: Performance of SimCode: time 1.753e-06/2.57, allocations: 3.719 kB / 1.649 GB, free: 244 MB / 1.295 GB Notification: Performance of Templates: time 0.1879/2.758, allocations: 182.6 MB / 1.827 GB, free: 64.44 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.963323685806245]