Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001833/0.001833, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002287/0.002287, allocations: 214.8 kB / 22.99 MB, free: 4.945 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.246/3.246, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002097/0.002097, allocations: 67.52 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4001, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06104/0.4612, allocations: 51.65 MB / 1.415 GB, free: 9.781 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.488, allocations: 16.85 MB / 1.432 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.4915, allocations: 103.2 kB / 1.432 GB, free: 8.781 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.4946, allocations: 0.8963 MB / 1.432 GB, free: 7.879 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008655/0.5033, allocations: 2.663 MB / 1.435 GB, free: 5.203 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.5078, allocations: 1.563 MB / 1.437 GB, free: 3.648 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02558/0.5334, allocations: 22.05 MB / 1.458 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.5457, allocations: 7.09 MB / 1.465 GB, free: 6.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/0.5635, allocations: 7.587 MB / 1.472 GB, free: 14.76 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/0.5777, allocations: 6.893 MB / 1.479 GB, free: 7.844 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.003403/0.5811, allocations: 0.9375 MB / 1.48 GB, free: 6.906 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008095/0.5892, allocations: 1.577 MB / 1.482 GB, free: 5.328 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.005596/0.5948, allocations: 2.434 MB / 1.484 GB, free: 2.887 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01377/0.6086, allocations: 3.872 MB / 1.488 GB, free: 15 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02418/0.6328, allocations: 13.36 MB / 1.501 GB, free: 1.602 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.6328, allocations: 4 kB / 1.501 GB, free: 1.598 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6328, allocations: 4 kB / 1.501 GB, free: 1.594 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0005827/0.6333, allocations: 0 / 1.501 GB, free: 1.594 MB / 1.186 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.02818/0.6615, allocations: 8.634 MB / 1.509 GB, free: 8.875 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6616, allocations: 12.03 kB / 1.509 GB, free: 8.863 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/0.6671, allocations: 0.9605 MB / 1.51 GB, free: 7.898 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.6831, allocations: 6.777 MB / 1.517 GB, free: 1.039 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/0.6836, allocations: 460.4 kB / 1.517 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.686, allocations: 0.5976 MB / 1.518 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.7073, allocations: 10.09 MB / 1.528 GB, free: 5.312 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.7075, allocations: 23.8 kB / 1.528 GB, free: 5.289 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008006/0.7083, allocations: 264 kB / 1.528 GB, free: 5.031 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/0.7085, allocations: 180 kB / 1.528 GB, free: 4.855 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.7248, allocations: 7.445 MB / 1.535 GB, free: 13.4 MB / 1.232 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.05473/0.7796, allocations: 26.38 MB / 1.561 GB, free: 2.578 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007288/0.7868, allocations: 3.964 MB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005381/0.7922, allocations: 3.038 MB / 1.568 GB, free: 11.56 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.7933, allocations: 194.3 kB / 1.568 GB, free: 11.37 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005322/0.7986, allocations: 3.452 MB / 1.572 GB, free: 7.625 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00287/0.8015, allocations: 317.8 kB / 1.572 GB, free: 7.312 MB / 1.264 GB Notification: Performance of pre-optimization done (n=317): time 2.46e-05/0.8015, allocations: 0 / 1.572 GB, free: 7.312 MB / 1.264 GB Notification: Performance of matching and sorting (n=317): time 0.01676/0.8183, allocations: 6.946 MB / 1.579 GB, free: 324 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.8183, allocations: 85.91 kB / 1.579 GB, free: 224 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/0.8287, allocations: 4.989 MB / 1.584 GB, free: 11.22 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008823/0.8295, allocations: 85.7 kB / 1.584 GB, free: 11.13 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004094/0.8336, allocations: 3.282 MB / 1.587 GB, free: 7.832 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/0.8357, allocations: 1.166 MB / 1.588 GB, free: 6.656 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/0.8383, allocations: 0.8624 MB / 1.589 GB, free: 5.781 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8384, allocations: 309.1 kB / 1.589 GB, free: 5.477 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/0.8426, allocations: 2.189 MB / 1.591 GB, free: 3.273 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/0.8484, allocations: 3.822 MB / 1.595 GB, free: 14.72 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.8585, allocations: 6.327 MB / 1.601 GB, free: 7.68 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.726e-05/0.8586, allocations: 19.94 kB / 1.601 GB, free: 7.66 MB / 1.295 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01391/0.8725, allocations: 6.749 MB / 1.608 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.362e-05/0.8726, allocations: 57.64 kB / 1.608 GB, free: 0.793 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.8727, allocations: 52.88 kB / 1.608 GB, free: 0.7422 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.8738, allocations: 435.6 kB / 1.608 GB, free: 320 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7945/1.668, allocations: 1.006 MB / 1.609 GB, free: 224.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/1.675, allocations: 5.352 MB / 1.615 GB, free: 222.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/1.68, allocations: 291.5 kB / 1.615 GB, free: 222.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.681, allocations: 220 kB / 1.615 GB, free: 222.3 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.00586/1.687, allocations: 2.481 MB / 1.618 GB, free: 221.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/1.688, allocations: 0.4915 MB / 1.618 GB, free: 221.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.699, allocations: 5.206 MB / 1.623 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/1.699, allocations: 31.25 kB / 1.623 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.699, allocations: 4.969 kB / 1.623 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007936/1.706, allocations: 4.52 MB / 1.628 GB, free: 217.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02746/1.734, allocations: 10.44 MB / 1.638 GB, free: 214 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.734, allocations: 1.875 kB / 1.638 GB, free: 214 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.737, allocations: 0.6471 MB / 1.638 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.738, allocations: 373.5 kB / 1.639 GB, free: 213.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005968/1.739, allocations: 83.2 kB / 1.639 GB, free: 213.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/1.744, allocations: 5.281 MB / 1.644 GB, free: 210 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.744, allocations: 5.328 kB / 1.644 GB, free: 210 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.76, allocations: 7.685 MB / 1.651 GB, free: 207.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004052/1.764, allocations: 1.082 MB / 1.653 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.766, allocations: 66.09 kB / 1.653 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.77, allocations: 193.5 kB / 1.653 GB, free: 206.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007871/1.771, allocations: 209.1 kB / 1.653 GB, free: 206.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006711/1.771, allocations: 142.6 kB / 1.653 GB, free: 206.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00696/1.778, allocations: 3.392 MB / 1.656 GB, free: 205.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.778, allocations: 0 / 1.656 GB, free: 205.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007758/1.786, allocations: 2.098 MB / 1.658 GB, free: 205.1 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.002311/1.788, allocations: 468.8 kB / 1.659 GB, free: 204.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.799, allocations: 5.252 MB / 1.664 GB, free: 203 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.799, allocations: 5.938 kB / 1.664 GB, free: 203 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.803, allocations: 2.362 MB / 1.666 GB, free: 202 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01445/1.818, allocations: 2.767 MB / 1.669 GB, free: 200.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/1.845, allocations: 14.03 MB / 1.683 GB, free: 186.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006257/1.852, allocations: 4.07 MB / 1.687 GB, free: 182.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/1.854, allocations: 463.2 kB / 1.687 GB, free: 181.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.794e-06/1.854, allocations: 0 / 1.687 GB, free: 181.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1903/2.044, allocations: 182.6 MB / 1.865 GB, free: 15.48 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 27.313666181173176]