Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001288/0.001288, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001326/0.001326, allocations: 189.2 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 72.45 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05722/0.4153, allocations: 55.55 MB / 1.072 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6312/1.047, allocations: 17.77 MB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/1.05, allocations: 69 kB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/1.053, allocations: 0.7635 MB / 1.09 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008923/1.062, allocations: 2.325 MB / 1.092 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/1.067, allocations: 1.397 MB / 1.093 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02635/1.093, allocations: 21.35 MB / 1.114 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01828/1.112, allocations: 10.59 MB / 1.125 GB, free: 0 / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02598/1.138, allocations: 7.221 MB / 1.132 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01597/1.154, allocations: 6.551 MB / 1.138 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00477/1.158, allocations: 0.9291 MB / 1.139 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/1.17, allocations: 1.699 MB / 1.141 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006999/1.177, allocations: 2.321 MB / 1.143 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0158/1.193, allocations: 4.7 MB / 1.148 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01814/1.211, allocations: 10.73 MB / 1.158 GB, free: 328 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.211, allocations: 0 / 1.158 GB, free: 328 kB / 0.8575 GB Notification: Performance of FrontEnd: time 3.036e-06/1.211, allocations: 0 / 1.158 GB, free: 328 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005834/1.212, allocations: 0 / 1.158 GB, free: 328 kB / 0.8575 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.02719/1.239, allocations: 8.496 MB / 1.166 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.239, allocations: 12.92 kB / 1.166 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/1.244, allocations: 0.8548 MB / 1.167 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/1.259, allocations: 6.615 MB / 1.174 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/1.259, allocations: 456.8 kB / 1.174 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.262, allocations: 0.6035 MB / 1.175 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/1.283, allocations: 9.037 MB / 1.183 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.283, allocations: 19.78 kB / 1.184 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009198/1.284, allocations: 260 kB / 1.184 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/1.284, allocations: 183.9 kB / 1.184 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.301, allocations: 7.445 MB / 1.191 GB, free: 14.09 MB / 0.9044 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.05494/1.356, allocations: 35.91 MB / 1.226 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/1.363, allocations: 4.279 MB / 1.23 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004606/1.367, allocations: 3.311 MB / 1.234 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.369, allocations: 0.9517 MB / 1.235 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004/1.373, allocations: 2.384 MB / 1.237 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003762/1.377, allocations: 407.9 kB / 1.237 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=317): time 1.274e-05/1.377, allocations: 4 kB / 1.237 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=317): time 0.01393/1.391, allocations: 7.139 MB / 1.244 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.391, allocations: 89.91 kB / 1.244 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009728/1.4, allocations: 5.455 MB / 1.25 GB, free: 120 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.401, allocations: 85.7 kB / 1.25 GB, free: 28 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003405/1.405, allocations: 3.196 MB / 1.253 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.407, allocations: 1.112 MB / 1.254 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/1.408, allocations: 0.858 MB / 1.255 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.408, allocations: 301.1 kB / 1.255 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/1.412, allocations: 2.167 MB / 1.257 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/1.417, allocations: 3.701 MB / 1.261 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/1.426, allocations: 6.323 MB / 1.267 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/1.426, allocations: 12 kB / 1.267 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01253/1.438, allocations: 6.78 MB / 1.274 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/1.438, allocations: 53.7 kB / 1.274 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-05/1.438, allocations: 48 kB / 1.274 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.44, allocations: 433.7 kB / 1.274 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.443, allocations: 1.01 MB / 1.275 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/1.449, allocations: 5.701 MB / 1.281 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006577/1.456, allocations: 470.8 kB / 1.281 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009295/1.457, allocations: 219.9 kB / 1.281 GB, free: 13.89 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.006145/1.463, allocations: 2.479 MB / 1.284 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/1.465, allocations: 0.5288 MB / 1.284 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.476, allocations: 5.27 MB / 1.289 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/1.476, allocations: 32 kB / 1.29 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.476, allocations: 4 kB / 1.29 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006671/1.482, allocations: 4.53 MB / 1.294 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/1.508, allocations: 11.96 MB / 1.306 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.508, allocations: 4.125 kB / 1.306 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/1.511, allocations: 0.6436 MB / 1.306 GB, free: 4.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009004/1.511, allocations: 380.2 kB / 1.307 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/1.512, allocations: 83.95 kB / 1.307 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005646/1.517, allocations: 5.604 MB / 1.312 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.517, allocations: 8.344 kB / 1.312 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/1.532, allocations: 7.764 MB / 1.32 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005912/1.538, allocations: 1.139 MB / 1.321 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/1.541, allocations: 71.92 kB / 1.321 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006063/1.547, allocations: 462.9 kB / 1.321 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.548, allocations: 206.2 kB / 1.322 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008238/1.549, allocations: 139.9 kB / 1.322 GB, free: 3.945 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00894/1.558, allocations: 3.811 MB / 1.325 GB, free: 160 kB / 1.029 GB Notification: Performance of sort global known variables: time 9.32e-07/1.558, allocations: 0 / 1.325 GB, free: 160 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.009278/1.567, allocations: 1.995 MB / 1.327 GB, free: 14.16 MB / 1.045 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.002047/1.569, allocations: 488.6 kB / 1.328 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02387/1.593, allocations: 11.63 MB / 1.339 GB, free: 2.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.593, allocations: 4 kB / 1.339 GB, free: 2.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/1.599, allocations: 2.537 MB / 1.342 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/1.619, allocations: 3.386 MB / 1.345 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/1.653, allocations: 16.64 MB / 1.361 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007609/1.661, allocations: 4.553 MB / 1.366 GB, free: 6.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/1.664, allocations: 491.2 kB / 1.366 GB, free: 6.438 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/1.664, allocations: 0 / 1.366 GB, free: 6.438 MB / 1.076 GB Notification: Performance of Templates: time 0.7897/2.453, allocations: 186.1 MB / 1.548 GB, free: 427.4 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches