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.001283/0.001283, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001547/0.001547, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.932/2.932, allocations: 476.8 MB / 0.7715 GB, free: 3.828 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) [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.002068/0.002068, allocations: 66.44 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4415, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06141/0.503, allocations: 51.53 MB / 1.334 GB, free: 6.863 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.5304, allocations: 16.81 MB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.5343, allocations: 103.1 kB / 1.351 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.5378, allocations: 0.9003 MB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.5486, allocations: 2.674 MB / 1.354 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.5542, allocations: 1.587 MB / 1.356 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02646/0.5807, allocations: 21.79 MB / 1.377 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/0.5936, allocations: 7.09 MB / 1.384 GB, free: 3.684 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01833/0.6119, allocations: 7.376 MB / 1.391 GB, free: 12.33 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.6266, allocations: 6.685 MB / 1.398 GB, free: 5.617 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004214/0.6309, allocations: 0.9375 MB / 1.399 GB, free: 4.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008746/0.6396, allocations: 1.581 MB / 1.4 GB, free: 3.098 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005862/0.6455, allocations: 2.437 MB / 1.403 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.6579, allocations: 3.856 MB / 1.407 GB, free: 12.78 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02462/0.6825, allocations: 13.32 MB / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6825, allocations: 0 / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6825, allocations: 0 / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0005967/0.6831, allocations: 0 / 1.42 GB, free: 15.41 MB / 1.123 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.03012/0.7132, allocations: 8.638 MB / 1.428 GB, free: 6.695 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.7133, allocations: 8.031 kB / 1.428 GB, free: 6.688 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002478/0.7135, allocations: 160.4 kB / 1.428 GB, free: 6.527 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003779/0.7173, allocations: 0.8422 MB / 1.429 GB, free: 5.676 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006424/0.7237, allocations: 0.9527 MB / 1.43 GB, free: 4.719 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.7429, allocations: 6.771 MB / 1.436 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005652/0.7434, allocations: 460.2 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.7462, allocations: 0.5937 MB / 1.437 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02705/0.7733, allocations: 10.1 MB / 1.447 GB, free: 2.133 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.7735, allocations: 19.83 kB / 1.447 GB, free: 2.113 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001674/0.7752, allocations: 260 kB / 1.448 GB, free: 1.859 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.7754, allocations: 179.9 kB / 1.448 GB, free: 1.684 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.7959, allocations: 7.469 MB / 1.455 GB, free: 10.21 MB / 1.154 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.06654/0.8625, allocations: 27.26 MB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008783/0.8713, allocations: 3.969 MB / 1.486 GB, free: 10.51 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006148/0.8774, allocations: 3.03 MB / 1.489 GB, free: 7.484 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.8786, allocations: 214.2 kB / 1.489 GB, free: 7.273 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006371/0.885, allocations: 3.452 MB / 1.492 GB, free: 3.527 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00378/0.8888, allocations: 401.1 kB / 1.492 GB, free: 3.133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 1.854e-05/0.8888, allocations: 0 / 1.492 GB, free: 3.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01908/0.9079, allocations: 7.008 MB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.908, allocations: 85.91 kB / 1.499 GB, free: 11.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01995/0.9279, allocations: 5.674 MB / 1.505 GB, free: 6.324 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/0.9294, allocations: 85.7 kB / 1.505 GB, free: 6.234 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0058/0.9352, allocations: 3.279 MB / 1.508 GB, free: 2.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002806/0.938, allocations: 1.162 MB / 1.509 GB, free: 1.758 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0035/0.9415, allocations: 0.8586 MB / 1.51 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9417, allocations: 309.1 kB / 1.511 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004798/0.9465, allocations: 2.192 MB / 1.513 GB, free: 14.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/0.953, allocations: 3.83 MB / 1.516 GB, free: 9.812 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.9649, allocations: 6.323 MB / 1.523 GB, free: 2.773 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-05/0.965, allocations: 16 kB / 1.523 GB, free: 2.758 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01775/0.9827, allocations: 6.819 MB / 1.529 GB, free: 11.88 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.9829, allocations: 57.69 kB / 1.529 GB, free: 11.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.983, allocations: 48 kB / 1.529 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.9843, allocations: 433.5 kB / 1.53 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004549/0.9889, allocations: 1.006 MB / 1.531 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007404/0.9963, allocations: 5.427 MB / 1.536 GB, free: 4.684 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.003, allocations: 287.7 kB / 1.536 GB, free: 4.402 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.004, allocations: 216 kB / 1.537 GB, free: 4.191 MB / 1.232 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.007948/1.012, allocations: 2.487 MB / 1.539 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003055/1.015, allocations: 0.5551 MB / 1.539 GB, free: 1.133 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.03, allocations: 5.255 MB / 1.545 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.03, allocations: 32 kB / 1.545 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/1.03, allocations: 4 kB / 1.545 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01197/1.042, allocations: 4.532 MB / 1.549 GB, free: 7.148 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0367/1.078, allocations: 11.08 MB / 1.56 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.078, allocations: 4 kB / 1.56 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00364/1.082, allocations: 0.6438 MB / 1.561 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/1.083, allocations: 373.3 kB / 1.561 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007086/1.084, allocations: 83.95 kB / 1.561 GB, free: 10.85 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007429/1.091, allocations: 5.335 MB / 1.566 GB, free: 5.301 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.091, allocations: 11.94 kB / 1.566 GB, free: 5.289 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.109, allocations: 7.741 MB / 1.574 GB, free: 13.45 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004782/1.114, allocations: 1.147 MB / 1.575 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/1.116, allocations: 67.98 kB / 1.575 GB, free: 12.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005135/1.121, allocations: 191.8 kB / 1.575 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009555/1.122, allocations: 210 kB / 1.575 GB, free: 11.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008374/1.123, allocations: 139.9 kB / 1.575 GB, free: 11.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009806/1.133, allocations: 3.971 MB / 1.579 GB, free: 7.75 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.71e-07/1.133, allocations: 0 / 1.579 GB, free: 7.75 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009989/1.143, allocations: 2.023 MB / 1.581 GB, free: 5.723 MB / 1.279 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.02081/1.163, allocations: 8.672 MB / 1.59 GB, free: 12.95 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.175, allocations: 5.262 MB / 1.595 GB, free: 7.625 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.175, allocations: 4 kB / 1.595 GB, free: 7.621 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.181, allocations: 2.362 MB / 1.597 GB, free: 5.23 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0204/1.201, allocations: 3.387 MB / 1.601 GB, free: 1.934 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.572/2.773, allocations: 52.74 MB / 1.652 GB, free: 270.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004206/2.777, allocations: 4.148 MB / 1.656 GB, free: 266.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006595/2.784, allocations: 2.071 MB / 1.658 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0056/2.789, allocations: 2.674 MB / 1.661 GB, free: 262.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.964e-06/2.789, allocations: 0 / 1.661 GB, free: 262.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2261/3.015, allocations: 171.5 MB / 1.828 GB, free: 92.78 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.43/28.45, allocations: 11.5 kB / 1.828 GB, free: 92.77 MB / 1.295 GB " [Timeout remaining time 271] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] 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: 36.669255975983106]