Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001389/0.001389, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001802/0.001802, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_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.001976/0.001976, allocations: 62.91 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06091/0.4361, allocations: 57.29 MB / 1.383 GB, free: 8.492 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02645/0.4625, allocations: 18.22 MB / 1.4 GB, free: 6.227 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.4656, allocations: 99.19 kB / 1.4 GB, free: 6.129 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.4685, allocations: 0.9235 MB / 1.401 GB, free: 5.199 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.4771, allocations: 2.679 MB / 1.404 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.4816, allocations: 1.601 MB / 1.406 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02547/0.507, allocations: 21.82 MB / 1.427 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.5195, allocations: 7.105 MB / 1.434 GB, free: 3.809 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.5365, allocations: 7.533 MB / 1.441 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01341/0.5499, allocations: 6.58 MB / 1.448 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003424/0.5533, allocations: 0.9375 MB / 1.448 GB, free: 4.754 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007423/0.5608, allocations: 1.784 MB / 1.45 GB, free: 2.969 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004374/0.5651, allocations: 2.434 MB / 1.453 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.009708/0.5749, allocations: 4.719 MB / 1.457 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.5941, allocations: 13.32 MB / 1.47 GB, free: 14.42 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5941, allocations: 0 / 1.47 GB, free: 14.42 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.837e-06/0.5941, allocations: 3.984 kB / 1.47 GB, free: 14.41 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000381/0.5945, allocations: 0 / 1.47 GB, free: 14.41 MB / 1.17 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.02126/0.6157, allocations: 8.643 MB / 1.479 GB, free: 5.691 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6158, allocations: 8.031 kB / 1.479 GB, free: 5.684 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001747/0.6159, allocations: 160.4 kB / 1.479 GB, free: 5.523 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002352/0.6183, allocations: 0.8383 MB / 1.48 GB, free: 4.676 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.6226, allocations: 0.9528 MB / 1.481 GB, free: 3.719 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.6383, allocations: 6.787 MB / 1.487 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/0.6389, allocations: 460.2 kB / 1.488 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.6416, allocations: 0.6015 MB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.6635, allocations: 9.044 MB / 1.497 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.6637, allocations: 19.83 kB / 1.497 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.6653, allocations: 260 kB / 1.497 GB, free: 2.156 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.6655, allocations: 179.9 kB / 1.498 GB, free: 1.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.6832, allocations: 7.461 MB / 1.505 GB, free: 10.51 MB / 1.201 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.06566/0.7488, allocations: 36.02 MB / 1.54 GB, free: 4.422 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/0.7566, allocations: 3.998 MB / 1.544 GB, free: 432 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005764/0.7624, allocations: 3.039 MB / 1.547 GB, free: 13.38 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.7636, allocations: 214.2 kB / 1.547 GB, free: 13.16 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005406/0.769, allocations: 2.394 MB / 1.549 GB, free: 10.73 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003148/0.7721, allocations: 401.1 kB / 1.55 GB, free: 10.34 MB / 1.248 GB Notification: Performance of pre-optimization done (n=317): time 1.401e-05/0.7722, allocations: 0 / 1.55 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=317): time 0.02243/0.7946, allocations: 7.004 MB / 1.557 GB, free: 3.285 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.7947, allocations: 89.84 kB / 1.557 GB, free: 3.184 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/0.8078, allocations: 5.678 MB / 1.562 GB, free: 13.53 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0009773/0.8087, allocations: 85.7 kB / 1.562 GB, free: 13.44 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.004778/0.8135, allocations: 3.275 MB / 1.566 GB, free: 10.14 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/0.8157, allocations: 1.17 MB / 1.567 GB, free: 8.957 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/0.8186, allocations: 0.8586 MB / 1.568 GB, free: 8.086 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8187, allocations: 305.1 kB / 1.568 GB, free: 7.785 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/0.8231, allocations: 2.163 MB / 1.57 GB, free: 5.613 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005917/0.829, allocations: 3.693 MB / 1.574 GB, free: 1.223 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.8403, allocations: 6.323 MB / 1.58 GB, free: 10.18 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.399e-05/0.8404, allocations: 16 kB / 1.58 GB, free: 10.17 MB / 1.279 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01637/0.8567, allocations: 6.79 MB / 1.586 GB, free: 3.328 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8568, allocations: 53.7 kB / 1.586 GB, free: 3.27 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.138e-05/0.8569, allocations: 48 kB / 1.586 GB, free: 3.223 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.858, allocations: 445.7 kB / 1.587 GB, free: 2.781 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/0.8623, allocations: 1.002 MB / 1.588 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.8691, allocations: 5.481 MB / 1.593 GB, free: 12.07 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/0.8743, allocations: 287.7 kB / 1.593 GB, free: 11.79 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009951/0.8753, allocations: 216 kB / 1.594 GB, free: 11.57 MB / 1.295 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.006177/0.8815, allocations: 2.484 MB / 1.596 GB, free: 9.078 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/0.8839, allocations: 0.5551 MB / 1.597 GB, free: 8.52 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.8976, allocations: 5.255 MB / 1.602 GB, free: 3.207 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/0.8976, allocations: 32.19 kB / 1.602 GB, free: 3.176 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.8976, allocations: 4 kB / 1.602 GB, free: 3.172 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389/2.287, allocations: 4.522 MB / 1.606 GB, free: 258.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/2.317, allocations: 12.01 MB / 1.618 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/2.317, allocations: 3.266 kB / 1.618 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003786/2.321, allocations: 0.6441 MB / 1.619 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/2.322, allocations: 373.3 kB / 1.619 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007699/2.323, allocations: 86.98 kB / 1.619 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/2.329, allocations: 5.406 MB / 1.624 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.329, allocations: 1.891 kB / 1.624 GB, free: 251.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/2.347, allocations: 7.781 MB / 1.632 GB, free: 248.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005646/2.353, allocations: 1.147 MB / 1.633 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002519/2.355, allocations: 66.36 kB / 1.633 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004688/2.36, allocations: 196.7 kB / 1.633 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007056/2.361, allocations: 214.3 kB / 1.633 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004849/2.361, allocations: 143.3 kB / 1.634 GB, free: 247.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00815/2.369, allocations: 3.965 MB / 1.637 GB, free: 246.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.91e-07/2.369, allocations: 3.969 kB / 1.637 GB, free: 246.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01114/2.381, allocations: 2.039 MB / 1.639 GB, free: 246.2 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 0.01353/2.394, allocations: 8.715 MB / 1.648 GB, free: 242.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008016/2.402, allocations: 5.238 MB / 1.653 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.402, allocations: 6.781 kB / 1.653 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/2.405, allocations: 2.372 MB / 1.655 GB, free: 239 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01688/2.422, allocations: 3.385 MB / 1.659 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08165/2.504, allocations: 52.67 MB / 1.71 GB, free: 182.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004062/2.508, allocations: 4.628 MB / 1.715 GB, free: 177.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005848/2.514, allocations: 2.078 MB / 1.717 GB, free: 175.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003929/2.518, allocations: 2.678 MB / 1.719 GB, free: 173 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/2.518, allocations: 0 / 1.719 GB, free: 173 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/2.747, allocations: 164.3 MB / 1.88 GB, free: 9.945 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.47/26.22, allocations: 0 / 1.88 GB, free: 9.945 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 33.850704333977774]