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.001439/0.001439, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.001514/0.001514, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.661/1.661, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.996/2.996, allocations: 476.7 MB / 0.7678 GB, free: 9.418 MB / 0.6075 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.002236/0.002236, allocations: 66.22 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.144, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07215/1.216, allocations: 56.68 MB / 1.334 GB, free: 3.156 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03416/1.25, allocations: 18.07 MB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005923/1.256, allocations: 105.9 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/1.26, allocations: 0.9344 MB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/1.271, allocations: 2.617 MB / 1.355 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/1.277, allocations: 1.528 MB / 1.357 GB, free: 1.105 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03034/1.307, allocations: 21.24 MB / 1.378 GB, free: 4.645 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/1.324, allocations: 8.88 MB / 1.386 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02118/1.345, allocations: 7.327 MB / 1.394 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/1.36, allocations: 6.67 MB / 1.4 GB, free: 56 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003902/1.364, allocations: 0.9375 MB / 1.401 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009886/1.374, allocations: 1.756 MB / 1.403 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006675/1.38, allocations: 2.437 MB / 1.405 GB, free: 10.91 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01527/1.396, allocations: 4.703 MB / 1.41 GB, free: 6.191 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02463/1.42, allocations: 13.27 MB / 1.423 GB, free: 8.875 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.42, allocations: 0 / 1.423 GB, free: 8.875 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.994e-06/1.42, allocations: 0 / 1.423 GB, free: 8.875 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005544/1.421, allocations: 0 / 1.423 GB, free: 8.875 MB / 1.107 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.02735/1.448, allocations: 8.709 MB / 1.431 GB, free: 64 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.448, allocations: 8.031 kB / 1.431 GB, free: 56 kB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000265/1.448, allocations: 160.5 kB / 1.431 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00367/1.452, allocations: 0.8421 MB / 1.432 GB, free: 15.04 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00587/1.458, allocations: 0.9605 MB / 1.433 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.474, allocations: 6.735 MB / 1.44 GB, free: 7.285 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/1.475, allocations: 464.2 kB / 1.44 GB, free: 6.828 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/1.477, allocations: 0.5976 MB / 1.441 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/1.503, allocations: 9.032 MB / 1.449 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/1.503, allocations: 23.83 kB / 1.45 GB, free: 12.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000961/1.504, allocations: 260 kB / 1.45 GB, free: 12.6 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/1.504, allocations: 183.9 kB / 1.45 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.521, allocations: 7.461 MB / 1.457 GB, free: 4.949 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.07113/1.592, allocations: 36.08 MB / 1.492 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008721/1.601, allocations: 4.003 MB / 1.496 GB, free: 10.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005943/1.607, allocations: 3.035 MB / 1.499 GB, free: 7.762 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/1.609, allocations: 0.9583 MB / 1.5 GB, free: 6.617 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005171/1.614, allocations: 2.394 MB / 1.503 GB, free: 4.188 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003541/1.617, allocations: 401 kB / 1.503 GB, free: 3.793 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 1.606e-05/1.617, allocations: 0 / 1.503 GB, free: 3.793 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01652/1.634, allocations: 7.151 MB / 1.51 GB, free: 12.55 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/1.634, allocations: 81.91 kB / 1.51 GB, free: 12.46 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.645, allocations: 5.671 MB / 1.516 GB, free: 6.812 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.646, allocations: 85.7 kB / 1.516 GB, free: 6.723 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.004351/1.651, allocations: 3.271 MB / 1.519 GB, free: 3.426 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.653, allocations: 1.17 MB / 1.52 GB, free: 2.246 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.655, allocations: 0.8586 MB / 1.521 GB, free: 1.375 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.655, allocations: 309.1 kB / 1.521 GB, free: 1.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.659, allocations: 2.163 MB / 1.523 GB, free: 14.9 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005847/1.665, allocations: 3.697 MB / 1.527 GB, free: 10.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.676, allocations: 6.315 MB / 1.533 GB, free: 3.469 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.245e-05/1.676, allocations: 12 kB / 1.533 GB, free: 3.457 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01654/1.693, allocations: 6.798 MB / 1.54 GB, free: 12.61 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.693, allocations: 57.64 kB / 1.54 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.693, allocations: 48 kB / 1.54 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.694, allocations: 436 kB / 1.54 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.699, allocations: 1.006 MB / 1.541 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/1.706, allocations: 5.7 MB / 1.547 GB, free: 5.094 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.712, allocations: 287.7 kB / 1.547 GB, free: 4.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.713, allocations: 220.2 kB / 1.547 GB, free: 4.598 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.006077/1.719, allocations: 2.483 MB / 1.55 GB, free: 2.102 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/1.721, allocations: 0.5629 MB / 1.55 GB, free: 1.535 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.731, allocations: 5.255 MB / 1.555 GB, free: 12.22 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/1.731, allocations: 32 kB / 1.555 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.731, allocations: 4 kB / 1.555 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007249/1.739, allocations: 4.524 MB / 1.56 GB, free: 7.559 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/1.765, allocations: 11.96 MB / 1.571 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.765, allocations: 4 kB / 1.571 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.768, allocations: 0.6438 MB / 1.572 GB, free: 10.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/1.769, allocations: 373.3 kB / 1.572 GB, free: 10.43 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003517/1.769, allocations: 87.89 kB / 1.573 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006688/1.776, allocations: 5.629 MB / 1.578 GB, free: 4.438 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.776, allocations: 3.938 kB / 1.578 GB, free: 4.434 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/1.79, allocations: 7.776 MB / 1.586 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004545/1.795, allocations: 1.185 MB / 1.587 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/1.797, allocations: 63.98 kB / 1.587 GB, free: 11.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004589/1.801, allocations: 200.1 kB / 1.587 GB, free: 11.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/1.802, allocations: 202.2 kB / 1.587 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004424/1.802, allocations: 139.9 kB / 1.587 GB, free: 10.76 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00862/1.811, allocations: 3.963 MB / 1.591 GB, free: 6.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.62e-07/1.811, allocations: 0 / 1.591 GB, free: 6.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009908/1.821, allocations: 2.023 MB / 1.593 GB, free: 4.793 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.01661/1.838, allocations: 8.695 MB / 1.602 GB, free: 12 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.848, allocations: 5.249 MB / 1.607 GB, free: 6.695 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.848, allocations: 4.375 kB / 1.607 GB, free: 6.691 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004829/1.853, allocations: 2.369 MB / 1.609 GB, free: 4.293 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0207/1.874, allocations: 3.398 MB / 1.612 GB, free: 0.9922 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1169/1.991, allocations: 52.54 MB / 1.664 GB, free: 10.3 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006134/1.997, allocations: 4.632 MB / 1.668 GB, free: 5.637 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.007301/2.004, allocations: 2.083 MB / 1.67 GB, free: 3.559 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00575/2.01, allocations: 2.667 MB / 1.673 GB, free: 0.8906 MB / 1.357 GB Notification: Performance of SimCode: time 1.342e-06/2.01, allocations: 0 / 1.673 GB, free: 0.8906 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.301/2.311, allocations: 160.5 MB / 1.83 GB, free: 1.473 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.46/25.77, allocations: 4.062 kB / 1.83 GB, free: 1.469 MB / 1.514 GB " [Timeout remaining time 274] (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: 34.1552971790079]