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.002144/0.002144, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002555/0.002555, allocations: 165.7 kB / 22.46 MB, free: 5.359 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.837/2.837, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.585e-05/4.83e-05, allocations: 5.234 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06319/0.06323, allocations: 51.17 MB / 1.001 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02777/0.091, allocations: 16.77 MB / 1.017 GB, free: 7.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.09443, allocations: 99.19 kB / 1.017 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.09754, allocations: 0.9116 MB / 1.018 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007986/0.1055, allocations: 2.738 MB / 1.021 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004661/0.1102, allocations: 1.661 MB / 1.023 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02733/0.1375, allocations: 22.12 MB / 1.044 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.1501, allocations: 7.1 MB / 1.051 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02602/0.1762, allocations: 10.1 MB / 1.061 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.1893, allocations: 6.405 MB / 1.067 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002838/0.1921, allocations: 0.9375 MB / 1.068 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006656/0.1988, allocations: 1.588 MB / 1.07 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003794/0.2026, allocations: 2.496 MB / 1.072 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008126/0.2107, allocations: 3.337 MB / 1.075 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01779/0.2285, allocations: 13.47 MB / 1.089 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2285, allocations: 0 / 1.089 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2285, allocations: 0 / 1.089 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004182/0.2289, allocations: 0 / 1.089 GB, free: 14.21 MB / 0.9981 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.02253/0.2515, allocations: 8.567 MB / 1.097 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2515, allocations: 8.031 kB / 1.097 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.2558, allocations: 0.9605 MB / 1.098 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5272/0.783, allocations: 6.759 MB / 1.104 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005771/0.7836, allocations: 460.2 kB / 1.105 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/0.7865, allocations: 0.5941 MB / 1.105 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.8178, allocations: 10.1 MB / 1.115 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003178/0.8181, allocations: 22.88 kB / 1.115 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/0.8201, allocations: 258.7 kB / 1.116 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/0.8205, allocations: 185.6 kB / 1.116 GB, free: 140 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.8412, allocations: 7.447 MB / 1.123 GB, free: 137.5 MB / 0.9981 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.06501/0.9062, allocations: 26.32 MB / 1.149 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008373/0.9146, allocations: 3.98 MB / 1.153 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006221/0.9208, allocations: 3.034 MB / 1.156 GB, free: 120 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.9221, allocations: 197.8 kB / 1.156 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00581/0.9279, allocations: 3.454 MB / 1.159 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003484/0.9314, allocations: 320.2 kB / 1.159 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 2.461e-05/0.9314, allocations: 0 / 1.159 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01681/0.9482, allocations: 6.938 MB / 1.166 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.9483, allocations: 88.38 kB / 1.166 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.9589, allocations: 4.988 MB / 1.171 GB, free: 109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/0.9599, allocations: 85.7 kB / 1.171 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003497/0.9634, allocations: 3.268 MB / 1.174 GB, free: 106 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/0.9653, allocations: 1.153 MB / 1.176 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002968/0.9682, allocations: 0.8546 MB / 1.176 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.9683, allocations: 301.1 kB / 1.177 GB, free: 103.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.9721, allocations: 2.192 MB / 1.179 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004544/0.9766, allocations: 3.835 MB / 1.183 GB, free: 96.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008543/0.9851, allocations: 6.317 MB / 1.189 GB, free: 89.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-05/0.9852, allocations: 16 kB / 1.189 GB, free: 89.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01449/0.9997, allocations: 6.754 MB / 1.195 GB, free: 83.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.9998, allocations: 61.64 kB / 1.195 GB, free: 83.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.115e-05/0.9999, allocations: 48.91 kB / 1.196 GB, free: 83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.001, allocations: 433.3 kB / 1.196 GB, free: 82.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.005, allocations: 1.01 MB / 1.197 GB, free: 81.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/1.01, allocations: 5.369 MB / 1.202 GB, free: 76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005917/1.016, allocations: 283.6 kB / 1.202 GB, free: 75.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.017, allocations: 220 kB / 1.203 GB, free: 75.51 MB / 0.9981 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.00558/1.023, allocations: 2.481 MB / 1.205 GB, free: 73.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/1.025, allocations: 496.9 kB / 1.206 GB, free: 72.53 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.036, allocations: 5.213 MB / 1.211 GB, free: 67.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/1.036, allocations: 28 kB / 1.211 GB, free: 67.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.036, allocations: 4 kB / 1.211 GB, free: 67.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006828/1.043, allocations: 4.516 MB / 1.215 GB, free: 62.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02837/1.071, allocations: 10.46 MB / 1.225 GB, free: 52.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.071, allocations: 4 kB / 1.225 GB, free: 52.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.074, allocations: 0.6399 MB / 1.226 GB, free: 51.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/1.075, allocations: 369.3 kB / 1.226 GB, free: 51.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006201/1.076, allocations: 87.95 kB / 1.226 GB, free: 51.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/1.08, allocations: 5.273 MB / 1.231 GB, free: 45.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.08, allocations: 0 / 1.231 GB, free: 45.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.093, allocations: 7.683 MB / 1.239 GB, free: 37.78 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00399/1.097, allocations: 1.065 MB / 1.24 GB, free: 36.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002459/1.1, allocations: 67.98 kB / 1.24 GB, free: 36.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005252/1.105, allocations: 208 kB / 1.24 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/1.106, allocations: 214 kB / 1.24 GB, free: 36.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000537/1.106, allocations: 143.9 kB / 1.241 GB, free: 36.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006991/1.113, allocations: 3.388 MB / 1.244 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 1.244 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00946/1.123, allocations: 2.077 MB / 1.246 GB, free: 30.63 MB / 0.9981 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.001722/1.124, allocations: 489.7 kB / 1.246 GB, free: 30.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009022/1.133, allocations: 5.262 MB / 1.252 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.133, allocations: 4.188 kB / 1.252 GB, free: 24.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.137, allocations: 2.365 MB / 1.254 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01599/1.153, allocations: 2.765 MB / 1.257 GB, free: 19.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.182, allocations: 13.67 MB / 1.27 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006676/1.189, allocations: 4.146 MB / 1.274 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006668/1.195, allocations: 1.867 MB / 1.276 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/1.197, allocations: 433.1 kB / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of SimCode: time 2.124e-06/1.197, allocations: 4 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of Templates: time 0.1944/1.392, allocations: 102.2 MB / 1.376 GB, free: 11.16 MB / 1.107 GB " [Timeout remaining time 299] 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/jenkins/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: 12.76119615137577]