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.001725/0.001725, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002188/0.002188, allocations: 217.2 kB / 23.04 MB, free: 4.852 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.00202/0.00202, allocations: 65.77 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3881, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05775/0.4458, allocations: 51.67 MB / 1.378 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02566/0.4715, allocations: 16.84 MB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.4749, allocations: 107.1 kB / 1.394 GB, free: 12.12 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.478, allocations: 0.8846 MB / 1.395 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008563/0.4866, allocations: 2.667 MB / 1.398 GB, free: 8.551 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.4911, allocations: 1.569 MB / 1.399 GB, free: 6.992 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02471/0.5158, allocations: 22.05 MB / 1.421 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.5272, allocations: 7.09 MB / 1.428 GB, free: 9.672 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01652/0.5437, allocations: 7.584 MB / 1.435 GB, free: 2.105 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/0.5573, allocations: 6.896 MB / 1.442 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003413/0.5607, allocations: 0.9414 MB / 1.443 GB, free: 10.24 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007204/0.5679, allocations: 1.577 MB / 1.444 GB, free: 8.664 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005017/0.5729, allocations: 2.43 MB / 1.447 GB, free: 6.227 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.5833, allocations: 3.872 MB / 1.45 GB, free: 2.34 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.6025, allocations: 13.36 MB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6025, allocations: 0 / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of FrontEnd: time 5.36e-06/0.6025, allocations: 3.984 kB / 1.463 GB, free: 4.934 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004275/0.6029, allocations: 0 / 1.463 GB, free: 4.934 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.02689/0.6298, allocations: 8.638 MB / 1.472 GB, free: 12.21 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6299, allocations: 8.031 kB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.6356, allocations: 0.9528 MB / 1.473 GB, free: 11.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.6508, allocations: 6.788 MB / 1.479 GB, free: 4.379 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.6513, allocations: 460.4 kB / 1.48 GB, free: 3.926 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/0.6537, allocations: 0.5976 MB / 1.48 GB, free: 3.328 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.6771, allocations: 10.11 MB / 1.49 GB, free: 8.641 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.6773, allocations: 19.83 kB / 1.49 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009494/0.6783, allocations: 260 kB / 1.491 GB, free: 8.367 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.6785, allocations: 183.9 kB / 1.491 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.6963, allocations: 7.453 MB / 1.498 GB, free: 0.7266 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.0578/0.7541, allocations: 26.36 MB / 1.524 GB, free: 5.926 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007151/0.7612, allocations: 3.968 MB / 1.528 GB, free: 1.949 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/0.7665, allocations: 3.029 MB / 1.531 GB, free: 14.91 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009916/0.7675, allocations: 206.2 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005228/0.7727, allocations: 3.456 MB / 1.534 GB, free: 10.96 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002367/0.7751, allocations: 329.8 kB / 1.534 GB, free: 10.63 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 9.017e-06/0.7751, allocations: 0 / 1.534 GB, free: 10.63 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01438/0.7895, allocations: 6.946 MB / 1.541 GB, free: 3.637 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.7896, allocations: 81.91 kB / 1.541 GB, free: 3.543 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00944/0.799, allocations: 4.985 MB / 1.546 GB, free: 14.55 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008097/0.7998, allocations: 85.7 kB / 1.546 GB, free: 14.46 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003845/0.8037, allocations: 3.279 MB / 1.55 GB, free: 11.16 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/0.8057, allocations: 1.17 MB / 1.551 GB, free: 9.984 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.8072, allocations: 0.8624 MB / 1.551 GB, free: 9.109 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8074, allocations: 309.1 kB / 1.552 GB, free: 8.805 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.8111, allocations: 2.192 MB / 1.554 GB, free: 6.598 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/0.8169, allocations: 3.826 MB / 1.558 GB, free: 2.039 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.828, allocations: 6.319 MB / 1.564 GB, free: 11 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.219e-05/0.8281, allocations: 16 kB / 1.564 GB, free: 10.98 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01379/0.8418, allocations: 6.753 MB / 1.57 GB, free: 4.176 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/0.8419, allocations: 57.69 kB / 1.57 GB, free: 4.113 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.907e-05/0.842, allocations: 48 kB / 1.571 GB, free: 4.066 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.843, allocations: 436.3 kB / 1.571 GB, free: 3.637 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.847, allocations: 1.002 MB / 1.572 GB, free: 2.633 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/0.8533, allocations: 5.36 MB / 1.577 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/0.8581, allocations: 295.5 kB / 1.577 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009405/0.859, allocations: 223.9 kB / 1.578 GB, free: 12.57 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.005659/0.8647, allocations: 2.475 MB / 1.58 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/0.8668, allocations: 0.493 MB / 1.581 GB, free: 9.59 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.8783, allocations: 5.203 MB / 1.586 GB, free: 4.328 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/0.8783, allocations: 32 kB / 1.586 GB, free: 4.297 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.8783, allocations: 4 kB / 1.586 GB, free: 4.293 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008099/0.8864, allocations: 4.52 MB / 1.59 GB, free: 15.66 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/0.9124, allocations: 10.45 MB / 1.6 GB, free: 5.102 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.9124, allocations: 4.125 kB / 1.6 GB, free: 5.098 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/0.9155, allocations: 0.6436 MB / 1.601 GB, free: 4.453 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009601/0.9165, allocations: 366.9 kB / 1.601 GB, free: 4.09 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000469/0.917, allocations: 83.89 kB / 1.601 GB, free: 4.008 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8583/1.775, allocations: 5.268 MB / 1.607 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.775, allocations: 1.281 kB / 1.607 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.791, allocations: 7.686 MB / 1.614 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/1.795, allocations: 1.074 MB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/1.796, allocations: 65.88 kB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003877/1.8, allocations: 195.7 kB / 1.615 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/1.801, allocations: 215.7 kB / 1.616 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/1.801, allocations: 138.3 kB / 1.616 GB, free: 255 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008486/1.81, allocations: 3.384 MB / 1.619 GB, free: 253.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.2e-07/1.81, allocations: 0 / 1.619 GB, free: 253.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009747/1.819, allocations: 2.094 MB / 1.621 GB, free: 253.7 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.001757/1.821, allocations: 478.6 kB / 1.621 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.832, allocations: 5.271 MB / 1.627 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.832, allocations: 6.688 kB / 1.627 GB, free: 251.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004768/1.837, allocations: 2.357 MB / 1.629 GB, free: 250.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01827/1.855, allocations: 2.766 MB / 1.632 GB, free: 250 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/1.886, allocations: 14.04 MB / 1.645 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006269/1.892, allocations: 4.061 MB / 1.649 GB, free: 242.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.894, allocations: 466.4 kB / 1.65 GB, free: 242.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.543e-06/1.894, allocations: 0 / 1.65 GB, free: 242.8 MB / 1.295 GB Notification: Performance of Templates: time 0.2111/2.106, allocations: 182.6 MB / 1.828 GB, free: 63.12 MB / 1.295 GB " [Timeout remaining time 298] 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: 27.672902022954077]