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.001318/0.001318, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001556/0.001556, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.949 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.859/2.859, allocations: 476.8 MB / 0.7707 GB, free: 4.211 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="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.002095/0.002095, allocations: 70.89 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4069, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07444/0.4813, allocations: 57.21 MB / 1.339 GB, free: 2.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.5146, allocations: 18.19 MB / 1.357 GB, free: 28 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003851/0.5185, allocations: 103.2 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.5222, allocations: 0.9274 MB / 1.358 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009565/0.5318, allocations: 2.678 MB / 1.361 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005685/0.5374, allocations: 1.598 MB / 1.362 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03127/0.5687, allocations: 21.81 MB / 1.383 GB, free: 4.844 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/0.5851, allocations: 7.094 MB / 1.39 GB, free: 13.63 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02135/0.6065, allocations: 7.327 MB / 1.398 GB, free: 6.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/0.6215, allocations: 6.673 MB / 1.404 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003801/0.6253, allocations: 0.9375 MB / 1.405 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008744/0.634, allocations: 1.784 MB / 1.407 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005625/0.6397, allocations: 2.43 MB / 1.409 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01248/0.6521, allocations: 4.7 MB / 1.414 GB, free: 5.742 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02621/0.6783, allocations: 13.29 MB / 1.427 GB, free: 8.406 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6784, allocations: 0 / 1.427 GB, free: 8.406 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6784, allocations: 0 / 1.427 GB, free: 8.406 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000622/0.679, allocations: 3.938 kB / 1.427 GB, free: 8.402 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.02818/0.7072, allocations: 8.638 MB / 1.435 GB, free: 15.68 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.7072, allocations: 12.03 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003427/0.7106, allocations: 0.8305 MB / 1.436 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.7155, allocations: 0.9566 MB / 1.437 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.7326, allocations: 6.772 MB / 1.443 GB, free: 7.016 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006641/0.7333, allocations: 460.2 kB / 1.444 GB, free: 6.562 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.7359, allocations: 0.5937 MB / 1.445 GB, free: 5.969 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.7618, allocations: 9.04 MB / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003074/0.7621, allocations: 23.83 kB / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002018/0.7641, allocations: 260 kB / 1.454 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/0.7644, allocations: 179.9 kB / 1.454 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.7836, allocations: 7.465 MB / 1.461 GB, free: 4.68 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.07253/0.8561, allocations: 35.99 MB / 1.496 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008665/0.8647, allocations: 4.01 MB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/0.8711, allocations: 3.032 MB / 1.503 GB, free: 7.57 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.8723, allocations: 222.2 kB / 1.503 GB, free: 7.352 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005634/0.878, allocations: 2.394 MB / 1.506 GB, free: 4.922 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003508/0.8815, allocations: 393.1 kB / 1.506 GB, free: 4.535 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 2.077e-05/0.8815, allocations: 0 / 1.506 GB, free: 4.535 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01764/0.8991, allocations: 7.004 MB / 1.513 GB, free: 13.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.8992, allocations: 85.91 kB / 1.513 GB, free: 13.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/0.9131, allocations: 5.678 MB / 1.518 GB, free: 7.727 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/0.914, allocations: 85.7 kB / 1.519 GB, free: 7.637 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.004792/0.9188, allocations: 3.267 MB / 1.522 GB, free: 4.344 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/0.9211, allocations: 1.174 MB / 1.523 GB, free: 3.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003154/0.9242, allocations: 0.8586 MB / 1.524 GB, free: 2.289 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9244, allocations: 305.1 kB / 1.524 GB, free: 1.988 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/0.929, allocations: 2.163 MB / 1.526 GB, free: 15.82 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006376/0.9354, allocations: 3.709 MB / 1.53 GB, free: 11.41 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.9471, allocations: 6.319 MB / 1.536 GB, free: 4.375 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-05/0.9472, allocations: 12 kB / 1.536 GB, free: 4.363 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01675/0.9639, allocations: 6.787 MB / 1.543 GB, free: 13.53 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.9641, allocations: 61.75 kB / 1.543 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.9642, allocations: 48 kB / 1.543 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.9655, allocations: 437.3 kB / 1.543 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/0.97, allocations: 1.002 MB / 1.544 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007517/0.9775, allocations: 5.484 MB / 1.549 GB, free: 6.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/0.9833, allocations: 291.7 kB / 1.55 GB, free: 5.984 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.9845, allocations: 220 kB / 1.55 GB, free: 5.77 MB / 1.248 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.006674/0.9911, allocations: 2.479 MB / 1.552 GB, free: 3.277 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002466/0.9936, allocations: 0.5551 MB / 1.553 GB, free: 2.719 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.007, allocations: 5.262 MB / 1.558 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/1.007, allocations: 36.03 kB / 1.558 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/1.007, allocations: 7.984 kB / 1.558 GB, free: 13.35 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008892/1.016, allocations: 4.52 MB / 1.562 GB, free: 8.727 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03197/1.048, allocations: 12.01 MB / 1.574 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.048, allocations: 0 / 1.574 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/1.051, allocations: 0.6477 MB / 1.575 GB, free: 11.93 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/1.052, allocations: 379.9 kB / 1.575 GB, free: 11.55 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/1.053, allocations: 79.95 kB / 1.575 GB, free: 11.48 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006811/1.059, allocations: 5.418 MB / 1.581 GB, free: 5.844 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.059, allocations: 3.938 kB / 1.581 GB, free: 5.84 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/1.076, allocations: 7.775 MB / 1.588 GB, free: 13.96 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005095/1.081, allocations: 1.158 MB / 1.589 GB, free: 12.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/1.083, allocations: 67.98 kB / 1.589 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004486/1.087, allocations: 195.7 kB / 1.59 GB, free: 12.54 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007824/1.088, allocations: 210 kB / 1.59 GB, free: 12.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006572/1.089, allocations: 135.9 kB / 1.59 GB, free: 12.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.009391/1.098, allocations: 3.971 MB / 1.594 GB, free: 8.254 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.9e-07/1.098, allocations: 96 / 1.594 GB, free: 8.254 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008941/1.107, allocations: 2.027 MB / 1.596 GB, free: 6.223 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 1.655/2.762, allocations: 8.696 MB / 1.604 GB, free: 295.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0133/2.776, allocations: 5.243 MB / 1.609 GB, free: 294.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/2.776, allocations: 3.125 kB / 1.609 GB, free: 294.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005583/2.781, allocations: 2.376 MB / 1.612 GB, free: 293.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01791/2.799, allocations: 3.392 MB / 1.615 GB, free: 292.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08143/2.881, allocations: 52.65 MB / 1.666 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/2.884, allocations: 4.632 MB / 1.671 GB, free: 250.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006298/2.89, allocations: 2.079 MB / 1.673 GB, free: 248.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003696/2.894, allocations: 2.674 MB / 1.676 GB, free: 245.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.433e-06/2.894, allocations: 0 / 1.676 GB, free: 245.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/3.136, allocations: 164.3 MB / 1.836 GB, free: 82.89 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.59/27.72, allocations: 7.844 kB / 1.836 GB, free: 82.88 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: 35.287782435072586]