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.001234/0.001234, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001337/0.001337, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.849/2.849, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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.002035/0.002035, allocations: 75.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06469/1.135, allocations: 56.75 MB / 1.377 GB, free: 432 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03139/1.166, allocations: 18.08 MB / 1.395 GB, free: 3.473 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004962/1.171, allocations: 101.7 kB / 1.395 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00424/1.176, allocations: 0.9292 MB / 1.396 GB, free: 2.855 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/1.187, allocations: 2.62 MB / 1.399 GB, free: 1.285 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/1.193, allocations: 1.529 MB / 1.4 GB, free: 444 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03406/1.227, allocations: 21.27 MB / 1.421 GB, free: 6.273 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/1.249, allocations: 8.881 MB / 1.43 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02201/1.271, allocations: 7.524 MB / 1.437 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0168/1.288, allocations: 6.568 MB / 1.443 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00488/1.292, allocations: 0.9416 MB / 1.444 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.304, allocations: 1.761 MB / 1.446 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.006972/1.31, allocations: 2.432 MB / 1.448 GB, free: 8.121 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0164/1.327, allocations: 4.723 MB / 1.453 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02614/1.353, allocations: 13.32 MB / 1.466 GB, free: 6.02 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/1.353, allocations: 0 / 1.466 GB, free: 6.02 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.864e-06/1.353, allocations: 0 / 1.466 GB, free: 6.02 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0005356/1.354, allocations: 0 / 1.466 GB, free: 6.02 MB / 1.139 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.02833/1.382, allocations: 8.709 MB / 1.474 GB, free: 13.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.382, allocations: 11.98 kB / 1.474 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006148/1.388, allocations: 0.9566 MB / 1.475 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/1.405, allocations: 6.754 MB / 1.482 GB, free: 5.426 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/1.405, allocations: 464.3 kB / 1.482 GB, free: 4.969 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/1.408, allocations: 0.5976 MB / 1.483 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/1.433, allocations: 9.04 MB / 1.492 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/1.433, allocations: 27.83 kB / 1.492 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/1.435, allocations: 268 kB / 1.492 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/1.435, allocations: 175.9 kB / 1.492 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/1.454, allocations: 7.469 MB / 1.5 GB, free: 3.07 MB / 1.17 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.065/1.519, allocations: 36.09 MB / 1.535 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00743/1.527, allocations: 3.995 MB / 1.539 GB, free: 8.926 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005324/1.532, allocations: 3.043 MB / 1.542 GB, free: 5.875 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/1.534, allocations: 0.9583 MB / 1.543 GB, free: 4.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004827/1.539, allocations: 2.398 MB / 1.545 GB, free: 2.297 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002756/1.541, allocations: 389.1 kB / 1.545 GB, free: 1.914 MB / 1.217 GB Notification: Performance of pre-optimization done (n=317): time 1.125e-05/1.541, allocations: 4 kB / 1.545 GB, free: 1.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=317): time 0.01526/1.557, allocations: 7.158 MB / 1.552 GB, free: 10.66 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/1.557, allocations: 85.91 kB / 1.552 GB, free: 10.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.568, allocations: 5.667 MB / 1.558 GB, free: 4.922 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0009252/1.568, allocations: 89.7 kB / 1.558 GB, free: 4.828 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003993/1.572, allocations: 3.271 MB / 1.561 GB, free: 1.531 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/1.575, allocations: 1.17 MB / 1.562 GB, free: 360 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/1.576, allocations: 0.8624 MB / 1.563 GB, free: 15.48 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.576, allocations: 309.1 kB / 1.563 GB, free: 15.17 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/1.58, allocations: 2.163 MB / 1.566 GB, free: 13 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/1.585, allocations: 3.693 MB / 1.569 GB, free: 8.605 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.596, allocations: 6.323 MB / 1.575 GB, free: 1.566 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.641e-05/1.596, allocations: 16 kB / 1.575 GB, free: 1.551 MB / 1.248 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01459/1.611, allocations: 6.779 MB / 1.582 GB, free: 10.72 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.611, allocations: 59.72 kB / 1.582 GB, free: 10.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.97e-05/1.611, allocations: 48 kB / 1.582 GB, free: 10.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.612, allocations: 437.6 kB / 1.583 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/1.616, allocations: 1.006 MB / 1.584 GB, free: 9.168 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/1.623, allocations: 5.707 MB / 1.589 GB, free: 3.188 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005434/1.628, allocations: 291.7 kB / 1.589 GB, free: 2.902 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009778/1.629, allocations: 212 kB / 1.59 GB, free: 2.695 MB / 1.264 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.005947/1.635, allocations: 2.479 MB / 1.592 GB, free: 208 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002473/1.638, allocations: 0.5553 MB / 1.593 GB, free: 15.64 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.649, allocations: 5.255 MB / 1.598 GB, free: 10.33 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/1.649, allocations: 32 kB / 1.598 GB, free: 10.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.649, allocations: 4 kB / 1.598 GB, free: 10.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007938/1.657, allocations: 4.52 MB / 1.602 GB, free: 5.672 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/1.684, allocations: 11.96 MB / 1.614 GB, free: 9.566 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.684, allocations: 0 / 1.614 GB, free: 9.566 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.687, allocations: 0.6476 MB / 1.614 GB, free: 8.918 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/1.688, allocations: 371.4 kB / 1.615 GB, free: 8.551 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/1.689, allocations: 83.95 kB / 1.615 GB, free: 8.469 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006338/1.695, allocations: 5.622 MB / 1.62 GB, free: 2.574 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.695, allocations: 4.219 kB / 1.62 GB, free: 2.57 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.709, allocations: 7.787 MB / 1.628 GB, free: 10.69 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/1.713, allocations: 1.181 MB / 1.629 GB, free: 9.484 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/1.714, allocations: 75.86 kB / 1.629 GB, free: 9.41 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003951/1.718, allocations: 187.8 kB / 1.629 GB, free: 9.227 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/1.719, allocations: 198.2 kB / 1.63 GB, free: 9.031 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004518/1.719, allocations: 139.9 kB / 1.63 GB, free: 8.895 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.008091/1.727, allocations: 3.963 MB / 1.634 GB, free: 4.953 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.3e-07/1.727, allocations: 0 / 1.634 GB, free: 4.953 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.008381/1.736, allocations: 2.031 MB / 1.636 GB, free: 2.918 MB / 1.311 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.001613/1.737, allocations: 474 kB / 1.636 GB, free: 2.445 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.748, allocations: 5.241 MB / 1.641 GB, free: 13.15 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.748, allocations: 4 kB / 1.641 GB, free: 13.15 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.752, allocations: 2.374 MB / 1.643 GB, free: 10.75 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0199/1.772, allocations: 3.396 MB / 1.647 GB, free: 7.445 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/1.805, allocations: 14.15 MB / 1.661 GB, free: 9.223 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00564/1.811, allocations: 4.557 MB / 1.665 GB, free: 4.637 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.813, allocations: 495.2 kB / 1.665 GB, free: 4.152 MB / 1.342 GB Notification: Performance of SimCode: time 1.973e-06/1.813, allocations: 7.938 kB / 1.665 GB, free: 4.145 MB / 1.342 GB Notification: Performance of Templates: time 0.2834/2.096, allocations: 188.4 MB / 1.85 GB, free: 8.098 MB / 1.529 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: 30.121164766998845]