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.001608/0.001608, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002375/0.002375, allocations: 220 kB / 22.24 MB, free: 5.109 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.809 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.834/2.834, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",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.002186/0.002186, allocations: 69.53 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3778, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06652/0.4443, allocations: 51.6 MB / 1.333 GB, free: 8.648 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.4712, allocations: 16.82 MB / 1.349 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.4748, allocations: 99.19 kB / 1.349 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.4781, allocations: 0.8963 MB / 1.35 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009089/0.4872, allocations: 2.67 MB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.4926, allocations: 1.574 MB / 1.354 GB, free: 2.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02716/0.5197, allocations: 22 MB / 1.376 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.5324, allocations: 7.094 MB / 1.383 GB, free: 5.262 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01923/0.5517, allocations: 7.387 MB / 1.39 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01498/0.5666, allocations: 6.982 MB / 1.397 GB, free: 6.887 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003919/0.5706, allocations: 0.9375 MB / 1.398 GB, free: 5.949 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008219/0.5788, allocations: 1.581 MB / 1.399 GB, free: 4.367 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005236/0.584, allocations: 2.422 MB / 1.402 GB, free: 1.938 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.5958, allocations: 3.856 MB / 1.406 GB, free: 14.07 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.02437/0.6202, allocations: 13.32 MB / 1.419 GB, free: 0.6992 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6202, allocations: 4 kB / 1.419 GB, free: 0.6953 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6202, allocations: 0 / 1.419 GB, free: 0.6953 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0004795/0.6207, allocations: 0 / 1.419 GB, free: 0.6953 MB / 1.108 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.02356/0.6443, allocations: 8.642 MB / 1.427 GB, free: 7.965 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6443, allocations: 8.031 kB / 1.427 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002242/0.6466, allocations: 0.8422 MB / 1.428 GB, free: 7.105 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.6508, allocations: 0.9489 MB / 1.429 GB, free: 6.152 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.6684, allocations: 6.773 MB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005565/0.6689, allocations: 464.1 kB / 1.436 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.6714, allocations: 0.5976 MB / 1.436 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02471/0.6962, allocations: 10.09 MB / 1.446 GB, free: 3.574 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.6963, allocations: 23.83 kB / 1.446 GB, free: 3.551 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.6977, allocations: 267.9 kB / 1.446 GB, free: 3.289 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.6979, allocations: 179.9 kB / 1.447 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.7162, allocations: 7.449 MB / 1.454 GB, free: 11.66 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.06185/0.7781, allocations: 27.26 MB / 1.481 GB, free: 15.94 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007738/0.7858, allocations: 3.968 MB / 1.484 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005388/0.7912, allocations: 3.034 MB / 1.487 GB, free: 8.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7922, allocations: 198.3 kB / 1.488 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006324/0.7985, allocations: 3.46 MB / 1.491 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004475/0.803, allocations: 397 kB / 1.491 GB, free: 4.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 2.556e-05/0.803, allocations: 0 / 1.491 GB, free: 4.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01641/0.8195, allocations: 7.012 MB / 1.498 GB, free: 13.53 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.8195, allocations: 85.91 kB / 1.498 GB, free: 13.43 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/0.8319, allocations: 5.767 MB / 1.504 GB, free: 7.684 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/0.8332, allocations: 85.7 kB / 1.504 GB, free: 7.594 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.004731/0.8379, allocations: 3.279 MB / 1.507 GB, free: 4.289 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002487/0.8404, allocations: 1.17 MB / 1.508 GB, free: 3.109 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/0.8421, allocations: 0.8585 MB / 1.509 GB, free: 2.238 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8423, allocations: 309.1 kB / 1.509 GB, free: 1.934 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/0.8465, allocations: 2.189 MB / 1.512 GB, free: 15.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005793/0.8523, allocations: 3.826 MB / 1.515 GB, free: 11.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.8633, allocations: 6.327 MB / 1.522 GB, free: 4.133 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.245e-05/0.8634, allocations: 12 kB / 1.522 GB, free: 4.121 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01483/0.8782, allocations: 6.812 MB / 1.528 GB, free: 13.25 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.8783, allocations: 57.69 kB / 1.528 GB, free: 13.19 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.494e-05/0.8784, allocations: 48 kB / 1.528 GB, free: 13.14 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.8795, allocations: 437.3 kB / 1.529 GB, free: 12.71 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.8835, allocations: 1.01 MB / 1.53 GB, free: 11.7 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/0.8903, allocations: 5.41 MB / 1.535 GB, free: 6.062 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/0.8966, allocations: 291.7 kB / 1.535 GB, free: 5.777 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.8977, allocations: 216 kB / 1.535 GB, free: 5.566 MB / 1.233 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.006641/0.9044, allocations: 2.48 MB / 1.538 GB, free: 3.078 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002482/0.9069, allocations: 0.5551 MB / 1.538 GB, free: 2.52 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.9191, allocations: 5.263 MB / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/0.9192, allocations: 32 kB / 1.544 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.9192, allocations: 4.188 kB / 1.544 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0083/0.9275, allocations: 4.524 MB / 1.548 GB, free: 8.535 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/0.9549, allocations: 11.09 MB / 1.559 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.9549, allocations: 0 / 1.559 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/0.9579, allocations: 0.6438 MB / 1.559 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009787/0.9588, allocations: 373.4 kB / 1.56 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.9591, allocations: 83.95 kB / 1.56 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006546/0.9657, allocations: 5.325 MB / 1.565 GB, free: 6.68 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9657, allocations: 4 kB / 1.565 GB, free: 6.676 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/0.9805, allocations: 7.752 MB / 1.573 GB, free: 14.83 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005116/0.9856, allocations: 1.143 MB / 1.574 GB, free: 13.68 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/0.9878, allocations: 67.92 kB / 1.574 GB, free: 13.61 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004466/0.9923, allocations: 200 kB / 1.574 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/0.9929, allocations: 214.1 kB / 1.574 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004046/0.9933, allocations: 135.9 kB / 1.574 GB, free: 13.07 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008428/1.002, allocations: 3.967 MB / 1.578 GB, free: 9.129 MB / 1.279 GB Notification: Performance of sort global known variables: time 3e-07/1.002, allocations: 4 kB / 1.578 GB, free: 9.125 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009447/1.011, allocations: 2.02 MB / 1.58 GB, free: 7.102 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.02114/1.032, allocations: 8.681 MB / 1.589 GB, free: 14.31 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.044, allocations: 5.25 MB / 1.594 GB, free: 9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.044, allocations: 0.5 kB / 1.594 GB, free: 9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005073/1.049, allocations: 2.381 MB / 1.596 GB, free: 6.59 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02079/1.07, allocations: 3.381 MB / 1.599 GB, free: 3.301 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9536/2.023, allocations: 52.73 MB / 1.651 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004951/2.028, allocations: 4.149 MB / 1.655 GB, free: 268.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00787/2.036, allocations: 2.068 MB / 1.657 GB, free: 266.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005249/2.041, allocations: 2.674 MB / 1.66 GB, free: 264 MB / 1.295 GB Notification: Performance of SimCode: time 1.903e-06/2.041, allocations: 0 / 1.66 GB, free: 264 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/2.299, allocations: 171.1 MB / 1.827 GB, free: 95.27 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.35/23.65, allocations: 8.047 kB / 1.827 GB, free: 95.27 MB / 1.295 GB " [Timeout remaining time 275] (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: 31.14207684714347]