Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008677/0.008677, allocations: 97.61 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 194.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05812/0.3842, allocations: 55.99 MB / 1.143 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.4106, allocations: 17.95 MB / 1.16 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.4147, allocations: 79.56 kB / 1.16 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.4185, allocations: 0.912 MB / 1.161 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.428, allocations: 2.62 MB / 1.164 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.433, allocations: 1.534 MB / 1.165 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02671/0.4597, allocations: 21.29 MB / 1.186 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/0.4768, allocations: 10.68 MB / 1.196 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0183/0.4951, allocations: 7.237 MB / 1.203 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.509, allocations: 6.358 MB / 1.21 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.003966/0.513, allocations: 0.9375 MB / 1.211 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.5244, allocations: 1.702 MB / 1.212 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.007393/0.5319, allocations: 2.337 MB / 1.215 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01362/0.5455, allocations: 4.703 MB / 1.219 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.5664, allocations: 13.23 MB / 1.232 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.5665, allocations: 4 kB / 1.232 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5665, allocations: 0 / 1.232 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005509/0.5671, allocations: 0 / 1.232 GB, free: 13.43 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.02749/0.5946, allocations: 8.705 MB / 1.241 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5946, allocations: 12.03 kB / 1.241 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.6002, allocations: 0.8942 MB / 1.241 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/0.6159, allocations: 6.754 MB / 1.248 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.6165, allocations: 460.4 kB / 1.248 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/0.6189, allocations: 0.5937 MB / 1.249 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.6414, allocations: 9.025 MB / 1.258 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.6415, allocations: 19.86 kB / 1.258 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007828/0.6423, allocations: 264 kB / 1.258 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.6425, allocations: 179.9 kB / 1.258 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7956/1.438, allocations: 7.443 MB / 1.266 GB, free: 154.9 MB / 1.014 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.06645/1.505, allocations: 36.09 MB / 1.301 GB, free: 131.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/1.512, allocations: 4.281 MB / 1.305 GB, free: 129.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1.517, allocations: 3.297 MB / 1.308 GB, free: 127.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.518, allocations: 0.9587 MB / 1.309 GB, free: 126.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00411/1.522, allocations: 2.379 MB / 1.311 GB, free: 125.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003293/1.525, allocations: 377 kB / 1.312 GB, free: 125.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=317): time 8.997e-06/1.525, allocations: 0 / 1.312 GB, free: 125.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=317): time 0.01292/1.538, allocations: 7.174 MB / 1.319 GB, free: 121.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.538, allocations: 85.53 kB / 1.319 GB, free: 121.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007547/1.546, allocations: 5.675 MB / 1.324 GB, free: 118.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005453/1.546, allocations: 83.98 kB / 1.325 GB, free: 118.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/1.549, allocations: 3.272 MB / 1.328 GB, free: 115.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.55, allocations: 1.167 MB / 1.329 GB, free: 115 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.551, allocations: 0.8622 MB / 1.33 GB, free: 114.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/1.551, allocations: 305 kB / 1.33 GB, free: 114.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/1.554, allocations: 2.165 MB / 1.332 GB, free: 113.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/1.557, allocations: 3.699 MB / 1.336 GB, free: 109.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/1.563, allocations: 6.312 MB / 1.342 GB, free: 102.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/1.563, allocations: 16 kB / 1.342 GB, free: 102.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.00949/1.573, allocations: 6.813 MB / 1.349 GB, free: 95.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/1.573, allocations: 51.42 kB / 1.349 GB, free: 95.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/1.573, allocations: 53.78 kB / 1.349 GB, free: 95.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008609/1.574, allocations: 434.9 kB / 1.349 GB, free: 95.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/1.577, allocations: 1.01 MB / 1.35 GB, free: 94.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/1.581, allocations: 5.699 MB / 1.356 GB, free: 88.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/1.586, allocations: 287.4 kB / 1.356 GB, free: 87.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/1.587, allocations: 220 kB / 1.356 GB, free: 87.66 MB / 1.014 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.003894/1.591, allocations: 2.48 MB / 1.359 GB, free: 85.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.592, allocations: 0.5473 MB / 1.359 GB, free: 84.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/1.599, allocations: 5.268 MB / 1.364 GB, free: 79.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.599, allocations: 35.94 kB / 1.364 GB, free: 79.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.599, allocations: 4 kB / 1.364 GB, free: 79.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005099/1.604, allocations: 4.528 MB / 1.369 GB, free: 74.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.624, allocations: 11.98 MB / 1.38 GB, free: 62.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.624, allocations: 3.938 kB / 1.38 GB, free: 62.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.626, allocations: 0.6438 MB / 1.381 GB, free: 61.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007349/1.627, allocations: 373.3 kB / 1.381 GB, free: 61.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/1.627, allocations: 83.95 kB / 1.381 GB, free: 61.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.631, allocations: 5.618 MB / 1.387 GB, free: 55.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.631, allocations: 0 / 1.387 GB, free: 55.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.642, allocations: 7.791 MB / 1.395 GB, free: 47.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003879/1.645, allocations: 1.185 MB / 1.396 GB, free: 46.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.647, allocations: 67.98 kB / 1.396 GB, free: 46.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.65, allocations: 202.4 kB / 1.396 GB, free: 46.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/1.65, allocations: 202.1 kB / 1.396 GB, free: 46.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.65, allocations: 139.9 kB / 1.396 GB, free: 45.92 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005048/1.655, allocations: 3.959 MB / 1.4 GB, free: 41.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.655, allocations: 0 / 1.4 GB, free: 41.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00628/1.662, allocations: 2.023 MB / 1.402 GB, free: 39.96 MB / 1.014 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.00129/1.663, allocations: 495.2 kB / 1.403 GB, free: 39.49 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007022/1.67, allocations: 5.456 MB / 1.408 GB, free: 33.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.67, allocations: 4.062 kB / 1.408 GB, free: 33.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.673, allocations: 2.537 MB / 1.41 GB, free: 31.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/1.69, allocations: 3.393 MB / 1.414 GB, free: 28.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/1.717, allocations: 14.08 MB / 1.427 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003313/1.72, allocations: 4.628 MB / 1.432 GB, free: 9.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005942/1.726, allocations: 2.081 MB / 1.434 GB, free: 7.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.728, allocations: 467.2 kB / 1.434 GB, free: 6.789 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.728, allocations: 0 / 1.434 GB, free: 6.789 MB / 1.014 GB Notification: Performance of Templates: time 0.1882/1.916, allocations: 116.6 MB / 1.548 GB, free: 3.117 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches