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.001394/0.001394, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.001486/0.001486, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.973 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 3.334/3.334, allocations: 0.4899 GB / 0.7915 GB, free: 33.53 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.002168/0.002168, allocations: 70.52 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3798, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06381/0.4436, allocations: 56.73 MB / 1.377 GB, free: 9.906 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02717/0.4708, allocations: 18.08 MB / 1.394 GB, free: 7.773 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00375/0.4745, allocations: 103.2 kB / 1.394 GB, free: 7.672 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.4782, allocations: 0.9235 MB / 1.395 GB, free: 6.742 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009979/0.4882, allocations: 2.62 MB / 1.398 GB, free: 4.109 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.4932, allocations: 1.529 MB / 1.399 GB, free: 2.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02698/0.5202, allocations: 21.27 MB / 1.42 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.534, allocations: 8.89 MB / 1.429 GB, free: 4.246 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01834/0.5524, allocations: 7.512 MB / 1.436 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01608/0.5685, allocations: 6.576 MB / 1.443 GB, free: 6.145 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.005441/0.5739, allocations: 0.9375 MB / 1.443 GB, free: 5.207 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009195/0.5831, allocations: 1.76 MB / 1.445 GB, free: 3.449 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00515/0.5882, allocations: 2.437 MB / 1.448 GB, free: 1.004 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.6001, allocations: 4.719 MB / 1.452 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02053/0.6206, allocations: 13.32 MB / 1.465 GB, free: 14.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.6206, allocations: 4 kB / 1.465 GB, free: 14.9 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6206, allocations: 0 / 1.465 GB, free: 14.9 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004552/0.6211, allocations: 0 / 1.465 GB, free: 14.9 MB / 1.17 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.02725/0.6483, allocations: 8.709 MB / 1.474 GB, free: 6.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.6484, allocations: 11.98 kB / 1.474 GB, free: 6.078 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.6547, allocations: 0.9606 MB / 1.475 GB, free: 5.113 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.6709, allocations: 6.754 MB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/0.6714, allocations: 464.3 kB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/0.6741, allocations: 0.5937 MB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/0.7, allocations: 9.04 MB / 1.491 GB, free: 3.887 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/0.7004, allocations: 19.83 kB / 1.491 GB, free: 3.867 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/0.7029, allocations: 264 kB / 1.491 GB, free: 3.609 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.7032, allocations: 175.9 kB / 1.492 GB, free: 3.438 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/0.7242, allocations: 7.465 MB / 1.499 GB, free: 11.96 MB / 1.201 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.06809/0.7923, allocations: 36.11 MB / 1.534 GB, free: 5.805 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/0.8008, allocations: 3.997 MB / 1.538 GB, free: 1.805 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006089/0.8068, allocations: 3.039 MB / 1.541 GB, free: 14.76 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.8085, allocations: 0.9505 MB / 1.542 GB, free: 13.62 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005441/0.814, allocations: 2.402 MB / 1.544 GB, free: 11.19 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003472/0.8175, allocations: 393 kB / 1.545 GB, free: 10.8 MB / 1.248 GB Notification: Performance of pre-optimization done (n=317): time 2.22e-05/0.8175, allocations: 0 / 1.545 GB, free: 10.8 MB / 1.248 GB Notification: Performance of matching and sorting (n=317): time 0.01978/0.8373, allocations: 7.151 MB / 1.552 GB, free: 3.562 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.8374, allocations: 89.91 kB / 1.552 GB, free: 3.461 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01628/0.8536, allocations: 5.667 MB / 1.557 GB, free: 13.82 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/0.8548, allocations: 85.7 kB / 1.557 GB, free: 13.73 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00507/0.8598, allocations: 3.271 MB / 1.56 GB, free: 10.43 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/0.8623, allocations: 1.178 MB / 1.562 GB, free: 9.242 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003621/0.866, allocations: 0.8624 MB / 1.562 GB, free: 8.367 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8661, allocations: 309 kB / 1.563 GB, free: 8.062 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004882/0.871, allocations: 2.16 MB / 1.565 GB, free: 5.895 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006475/0.8775, allocations: 3.697 MB / 1.568 GB, free: 1.496 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.8887, allocations: 6.319 MB / 1.575 GB, free: 10.46 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.818e-05/0.8888, allocations: 16 kB / 1.575 GB, free: 10.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01632/0.9051, allocations: 6.779 MB / 1.581 GB, free: 3.613 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.9052, allocations: 65.62 kB / 1.581 GB, free: 3.543 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.9053, allocations: 48 kB / 1.581 GB, free: 3.496 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.9065, allocations: 439.2 kB / 1.582 GB, free: 3.062 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.9108, allocations: 0.9983 MB / 1.583 GB, free: 2.062 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/0.9179, allocations: 5.706 MB / 1.588 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/0.924, allocations: 283.5 kB / 1.589 GB, free: 11.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.9251, allocations: 216 kB / 1.589 GB, free: 11.59 MB / 1.295 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.00655/0.9316, allocations: 2.481 MB / 1.591 GB, free: 9.098 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002687/0.9343, allocations: 0.5551 MB / 1.592 GB, free: 8.539 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.9478, allocations: 5.259 MB / 1.597 GB, free: 3.223 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.9479, allocations: 32 kB / 1.597 GB, free: 3.191 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/0.9479, allocations: 8 kB / 1.597 GB, free: 3.184 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654/2.602, allocations: 4.507 MB / 1.601 GB, free: 259 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/2.633, allocations: 11.95 MB / 1.613 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/2.633, allocations: 4.906 kB / 1.613 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/2.637, allocations: 0.6413 MB / 1.614 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/2.638, allocations: 378.2 kB / 1.614 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/2.638, allocations: 83.72 kB / 1.614 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/2.644, allocations: 5.617 MB / 1.62 GB, free: 251 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.644, allocations: 1.125 kB / 1.62 GB, free: 251 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/2.659, allocations: 7.783 MB / 1.627 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/2.663, allocations: 1.182 MB / 1.628 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/2.665, allocations: 64.11 kB / 1.628 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004562/2.67, allocations: 200.5 kB / 1.629 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005721/2.67, allocations: 204.9 kB / 1.629 GB, free: 247.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004378/2.671, allocations: 139.9 kB / 1.629 GB, free: 247.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.009392/2.68, allocations: 3.959 MB / 1.633 GB, free: 246.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/2.68, allocations: 0 / 1.633 GB, free: 246.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01051/2.691, allocations: 2.032 MB / 1.635 GB, free: 246 MB / 1.295 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.001817/2.692, allocations: 484.1 kB / 1.635 GB, free: 245.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008776/2.701, allocations: 5.244 MB / 1.64 GB, free: 243.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/2.701, allocations: 5.25 kB / 1.64 GB, free: 243.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/2.706, allocations: 2.374 MB / 1.643 GB, free: 242.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01898/2.725, allocations: 3.386 MB / 1.646 GB, free: 242.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/2.755, allocations: 14.11 MB / 1.66 GB, free: 231.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007058/2.763, allocations: 4.628 MB / 1.664 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007014/2.77, allocations: 2.073 MB / 1.666 GB, free: 225 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/2.772, allocations: 467.2 kB / 1.667 GB, free: 224.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/2.772, allocations: 0 / 1.667 GB, free: 224.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1567/2.928, allocations: 117.6 MB / 1.782 GB, free: 108.1 MB / 1.295 GB " [Timeout remaining time 297] 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/jenkins/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: 14.826853088103235]