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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001556/0.001556, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001923/0.001923, allocations: 191 kB / 16.91 MB, free: 6.184 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.6702/1.019, allocations: 55.52 MB / 1.118 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03287/1.052, allocations: 17.8 MB / 1.136 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004447/1.057, allocations: 67.28 kB / 1.136 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/1.06, allocations: 0.757 MB / 1.137 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.071, allocations: 2.328 MB / 1.139 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/1.077, allocations: 1.391 MB / 1.14 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0305/1.107, allocations: 21.35 MB / 1.161 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01767/1.125, allocations: 10.59 MB / 1.171 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02042/1.145, allocations: 7.22 MB / 1.178 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/1.159, allocations: 6.548 MB / 1.185 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00368/1.163, allocations: 0.9297 MB / 1.186 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009239/1.172, allocations: 1.709 MB / 1.187 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005423/1.178, allocations: 2.31 MB / 1.19 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/1.191, allocations: 4.692 MB / 1.194 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/1.206, allocations: 10.73 MB / 1.205 GB, free: 9.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.206, allocations: 0 / 1.205 GB, free: 9.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/1.206, allocations: 0 / 1.205 GB, free: 9.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005005/1.207, allocations: 0 / 1.205 GB, free: 9.406 MB / 0.92 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.0255/1.232, allocations: 8.497 MB / 1.213 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.232, allocations: 16.03 kB / 1.213 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/1.238, allocations: 0.8547 MB / 1.214 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.253, allocations: 6.614 MB / 1.22 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.254, allocations: 456.6 kB / 1.221 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/1.256, allocations: 0.6053 MB / 1.221 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/1.282, allocations: 9.021 MB / 1.23 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000504/1.283, allocations: 23.78 kB / 1.23 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003071/1.286, allocations: 260 kB / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/1.286, allocations: 179.9 kB / 1.231 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/1.306, allocations: 7.449 MB / 1.238 GB, free: 6.953 MB / 0.9512 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.06608/1.373, allocations: 35.91 MB / 1.273 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008548/1.381, allocations: 4.285 MB / 1.277 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006098/1.387, allocations: 3.308 MB / 1.28 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/1.389, allocations: 0.9622 MB / 1.281 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004733/1.394, allocations: 2.379 MB / 1.284 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003368/1.397, allocations: 419.8 kB / 1.284 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 1.048e-05/1.397, allocations: 0 / 1.284 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01597/1.413, allocations: 7.14 MB / 1.291 GB, free: 14.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.413, allocations: 85.91 kB / 1.291 GB, free: 14.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009987/1.423, allocations: 5.459 MB / 1.296 GB, free: 8.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009738/1.424, allocations: 89.7 kB / 1.296 GB, free: 8.543 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.428, allocations: 3.192 MB / 1.3 GB, free: 5.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/1.43, allocations: 1.113 MB / 1.301 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/1.432, allocations: 0.8619 MB / 1.302 GB, free: 3.316 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.432, allocations: 305.1 kB / 1.302 GB, free: 3.016 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/1.436, allocations: 2.163 MB / 1.304 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/1.441, allocations: 3.697 MB / 1.308 GB, free: 12.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.452, allocations: 6.319 MB / 1.314 GB, free: 5.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.302e-05/1.452, allocations: 16 kB / 1.314 GB, free: 5.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01413/1.466, allocations: 6.771 MB / 1.32 GB, free: 14.56 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.467, allocations: 53.7 kB / 1.32 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-05/1.467, allocations: 51.94 kB / 1.32 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.468, allocations: 443.3 kB / 1.321 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/1.472, allocations: 1.002 MB / 1.322 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/1.479, allocations: 5.699 MB / 1.327 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.485, allocations: 466.8 kB / 1.328 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009837/1.486, allocations: 216 kB / 1.328 GB, free: 6.375 MB / 1.045 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.00551/1.492, allocations: 2.485 MB / 1.33 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/1.494, allocations: 0.5287 MB / 1.331 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.504, allocations: 5.274 MB / 1.336 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/1.504, allocations: 32 kB / 1.336 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.504, allocations: 4 kB / 1.336 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007381/1.511, allocations: 4.539 MB / 1.341 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.538, allocations: 11.95 MB / 1.352 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.538, allocations: 4 kB / 1.352 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.54, allocations: 0.6438 MB / 1.353 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009465/1.541, allocations: 372.1 kB / 1.353 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.542, allocations: 87.95 kB / 1.353 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/1.548, allocations: 5.619 MB / 1.359 GB, free: 6.195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.548, allocations: 4 kB / 1.359 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.562, allocations: 7.755 MB / 1.366 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004081/1.566, allocations: 1.147 MB / 1.368 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/1.568, allocations: 71.92 kB / 1.368 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005187/1.573, allocations: 455.1 kB / 1.368 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005884/1.573, allocations: 206.2 kB / 1.368 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004305/1.574, allocations: 139.9 kB / 1.368 GB, free: 12.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.008037/1.582, allocations: 3.81 MB / 1.372 GB, free: 8.527 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.41e-07/1.582, allocations: 0 / 1.372 GB, free: 8.527 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.009223/1.591, allocations: 1.991 MB / 1.374 GB, free: 6.531 MB / 1.092 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.001933/1.593, allocations: 490.3 kB / 1.375 GB, free: 6.051 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02556/1.619, allocations: 11.63 MB / 1.386 GB, free: 10.37 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.619, allocations: 4 kB / 1.386 GB, free: 10.37 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.624, allocations: 2.539 MB / 1.388 GB, free: 7.801 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01781/1.641, allocations: 3.395 MB / 1.392 GB, free: 4.527 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/1.674, allocations: 16.64 MB / 1.408 GB, free: 3.828 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006378/1.68, allocations: 4.549 MB / 1.412 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/1.683, allocations: 487.2 kB / 1.413 GB, free: 14.77 MB / 1.139 GB Notification: Performance of SimCode: time 1.112e-06/1.683, allocations: 0 / 1.413 GB, free: 14.77 MB / 1.139 GB Notification: Performance of Templates: time 0.7937/2.477, allocations: 186.1 MB / 1.595 GB, free: 403.4 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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) 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) Reference file matches