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.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.001748/0.001748, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002084/0.002084, allocations: 157.2 kB / 23.01 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.65/2.65, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.001922/0.001922, allocations: 73.94 kB / 0.9515 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 169.9 MB / 1.117 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06459/1.092, allocations: 51.59 MB / 1.168 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02969/1.121, allocations: 16.84 MB / 1.184 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004718/1.126, allocations: 105.6 kB / 1.184 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00401/1.13, allocations: 0.892 MB / 1.185 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/1.141, allocations: 2.663 MB / 1.188 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005835/1.147, allocations: 1.565 MB / 1.189 GB, free: 1.902 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02869/1.176, allocations: 22.03 MB / 1.211 GB, free: 5.504 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/1.189, allocations: 7.095 MB / 1.218 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/1.208, allocations: 7.373 MB / 1.225 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01639/1.225, allocations: 6.981 MB / 1.232 GB, free: 7.109 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003624/1.228, allocations: 0.9375 MB / 1.233 GB, free: 6.172 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008603/1.237, allocations: 1.585 MB / 1.234 GB, free: 4.586 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.005203/1.242, allocations: 2.422 MB / 1.237 GB, free: 2.156 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01151/1.254, allocations: 3.86 MB / 1.24 GB, free: 14.28 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02054/1.274, allocations: 13.31 MB / 1.253 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.274, allocations: 0 / 1.253 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.116e-06/1.274, allocations: 11.92 kB / 1.253 GB, free: 0.918 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004631/1.275, allocations: 0 / 1.253 GB, free: 0.918 MB / 1.092 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.02612/1.301, allocations: 8.638 MB / 1.262 GB, free: 8.191 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/1.301, allocations: 12.03 kB / 1.262 GB, free: 8.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/1.307, allocations: 0.9528 MB / 1.263 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.325, allocations: 6.772 MB / 1.269 GB, free: 380 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/1.325, allocations: 468.4 kB / 1.27 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002489/1.328, allocations: 0.5937 MB / 1.27 GB, free: 15.31 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.354, allocations: 10.1 MB / 1.28 GB, free: 4.637 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003346/1.355, allocations: 23.81 kB / 1.28 GB, free: 4.613 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/1.357, allocations: 260 kB / 1.281 GB, free: 4.359 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/1.357, allocations: 183.9 kB / 1.281 GB, free: 4.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/1.378, allocations: 7.445 MB / 1.288 GB, free: 12.73 MB / 1.139 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.06034/1.439, allocations: 26.34 MB / 1.314 GB, free: 1.941 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008719/1.447, allocations: 3.977 MB / 1.318 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006427/1.454, allocations: 3.033 MB / 1.321 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.455, allocations: 206.3 kB / 1.321 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006596/1.462, allocations: 3.456 MB / 1.324 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003069/1.465, allocations: 321.8 kB / 1.324 GB, free: 6.645 MB / 1.17 GB Notification: Performance of pre-optimization done (n=317): time 1.263e-05/1.465, allocations: 4 kB / 1.324 GB, free: 6.641 MB / 1.17 GB Notification: Performance of matching and sorting (n=317): time 0.01756/1.482, allocations: 6.946 MB / 1.331 GB, free: 15.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/1.483, allocations: 85.91 kB / 1.331 GB, free: 15.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.494, allocations: 4.981 MB / 1.336 GB, free: 10.56 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008781/1.495, allocations: 89.7 kB / 1.336 GB, free: 10.47 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00464/1.5, allocations: 3.279 MB / 1.339 GB, free: 7.168 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.502, allocations: 1.17 MB / 1.341 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002765/1.505, allocations: 0.8624 MB / 1.341 GB, free: 5.113 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.505, allocations: 301.1 kB / 1.342 GB, free: 4.816 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.509, allocations: 2.189 MB / 1.344 GB, free: 2.613 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006097/1.516, allocations: 3.826 MB / 1.348 GB, free: 14.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.527, allocations: 6.331 MB / 1.354 GB, free: 7.012 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.925e-05/1.527, allocations: 16 kB / 1.354 GB, free: 6.996 MB / 1.201 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01575/1.543, allocations: 6.746 MB / 1.36 GB, free: 200 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.494e-05/1.543, allocations: 61.94 kB / 1.36 GB, free: 132 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.447e-05/1.543, allocations: 48 kB / 1.361 GB, free: 84 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.544, allocations: 435.8 kB / 1.361 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.548, allocations: 1.006 MB / 1.362 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/1.555, allocations: 5.366 MB / 1.367 GB, free: 9.082 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/1.561, allocations: 287.7 kB / 1.367 GB, free: 8.801 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009234/1.561, allocations: 220.1 kB / 1.368 GB, free: 8.586 MB / 1.217 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.005386/1.567, allocations: 2.483 MB / 1.37 GB, free: 6.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/1.569, allocations: 0.4929 MB / 1.371 GB, free: 5.594 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.579, allocations: 5.21 MB / 1.376 GB, free: 332 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/1.579, allocations: 32 kB / 1.376 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.579, allocations: 4 kB / 1.376 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007811/1.586, allocations: 4.524 MB / 1.38 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/1.614, allocations: 10.44 MB / 1.39 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.614, allocations: 3.938 kB / 1.39 GB, free: 1.105 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/1.618, allocations: 0.6438 MB / 1.391 GB, free: 472 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.619, allocations: 377.3 kB / 1.391 GB, free: 88 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004666/1.619, allocations: 87.95 kB / 1.391 GB, free: 0 / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006692/1.626, allocations: 5.272 MB / 1.397 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.626, allocations: 0 / 1.397 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/1.641, allocations: 7.683 MB / 1.404 GB, free: 2.754 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004055/1.646, allocations: 1.08 MB / 1.405 GB, free: 1.668 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.647, allocations: 67.98 kB / 1.405 GB, free: 1.602 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003943/1.651, allocations: 196 kB / 1.405 GB, free: 1.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00068/1.652, allocations: 210.1 kB / 1.406 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005966/1.652, allocations: 139.9 kB / 1.406 GB, free: 1.066 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007928/1.66, allocations: 3.392 MB / 1.409 GB, free: 13.68 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.1e-07/1.66, allocations: 0 / 1.409 GB, free: 13.68 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.008056/1.668, allocations: 2.085 MB / 1.411 GB, free: 11.59 MB / 1.264 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.001525/1.67, allocations: 470 kB / 1.411 GB, free: 11.12 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.681, allocations: 5.258 MB / 1.417 GB, free: 5.801 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.681, allocations: 4 kB / 1.417 GB, free: 5.797 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004827/1.685, allocations: 2.374 MB / 1.419 GB, free: 3.395 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/1.7, allocations: 2.764 MB / 1.422 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/1.733, allocations: 13.96 MB / 1.435 GB, free: 2.691 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007659/1.741, allocations: 4.142 MB / 1.439 GB, free: 14.51 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.009623/1.751, allocations: 1.873 MB / 1.441 GB, free: 12.64 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/1.753, allocations: 428.3 kB / 1.442 GB, free: 12.22 MB / 1.295 GB Notification: Performance of SimCode: time 1.423e-06/1.753, allocations: 4 kB / 1.442 GB, free: 12.22 MB / 1.295 GB Notification: Performance of Templates: time 0.1873/1.94, allocations: 103.1 MB / 1.542 GB, free: 6.664 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.796914792037569]