Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001233/0.001233, 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.001481/0.001481, allocations: 219.3 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.103/3.103, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_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.001888/0.001888, allocations: 62.59 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 179 MB / 1.345 GB, free: 16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06008/0.3905, allocations: 51.62 MB / 1.396 GB, free: 12.19 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.4163, allocations: 16.81 MB / 1.412 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.4197, allocations: 103.1 kB / 1.412 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.4227, allocations: 0.8963 MB / 1.413 GB, free: 10.33 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008975/0.4316, allocations: 2.674 MB / 1.416 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004467/0.4361, allocations: 1.579 MB / 1.417 GB, free: 6.074 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02586/0.462, allocations: 21.82 MB / 1.439 GB, free: 200 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.4743, allocations: 7.09 MB / 1.445 GB, free: 8.984 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0186/0.4929, allocations: 7.582 MB / 1.453 GB, free: 1.422 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01642/0.5094, allocations: 6.584 MB / 1.459 GB, free: 10.81 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.004446/0.5138, allocations: 0.9375 MB / 1.46 GB, free: 9.875 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009756/0.5236, allocations: 1.585 MB / 1.462 GB, free: 8.289 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00615/0.5297, allocations: 2.433 MB / 1.464 GB, free: 5.848 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01294/0.5427, allocations: 3.868 MB / 1.468 GB, free: 1.965 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02333/0.566, allocations: 13.37 MB / 1.481 GB, free: 4.555 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.566, allocations: 0 / 1.481 GB, free: 4.555 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/0.566, allocations: 4 kB / 1.481 GB, free: 4.551 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004713/0.5665, allocations: 0 / 1.481 GB, free: 4.551 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.02618/0.5926, allocations: 8.638 MB / 1.489 GB, free: 11.83 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.5927, allocations: 8.031 kB / 1.489 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000239/0.5929, allocations: 164.4 kB / 1.49 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003545/0.5965, allocations: 0.8383 MB / 1.49 GB, free: 10.81 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005593/0.6021, allocations: 0.9527 MB / 1.491 GB, free: 9.852 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/0.6186, allocations: 6.787 MB / 1.498 GB, free: 2.984 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/0.6191, allocations: 460.2 kB / 1.498 GB, free: 2.531 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.6216, allocations: 0.5976 MB / 1.499 GB, free: 1.934 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.6432, allocations: 10.09 MB / 1.509 GB, free: 7.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.6433, allocations: 23.83 kB / 1.509 GB, free: 7.238 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008085/0.6441, allocations: 260 kB / 1.509 GB, free: 6.984 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.6444, allocations: 187.9 kB / 1.509 GB, free: 6.801 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/0.6603, allocations: 7.461 MB / 1.517 GB, free: 15.33 MB / 1.217 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.05245/0.7128, allocations: 27.28 MB / 1.543 GB, free: 3.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006638/0.7194, allocations: 3.972 MB / 1.547 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/0.7242, allocations: 3.025 MB / 1.55 GB, free: 12.58 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/0.7251, allocations: 202.3 kB / 1.55 GB, free: 12.38 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004755/0.7299, allocations: 3.456 MB / 1.554 GB, free: 8.633 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0024/0.7323, allocations: 389.1 kB / 1.554 GB, free: 8.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=317): time 8.135e-06/0.7323, allocations: 0 / 1.554 GB, free: 8.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=317): time 0.01339/0.7457, allocations: 7.008 MB / 1.561 GB, free: 1.191 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.7458, allocations: 85.91 kB / 1.561 GB, free: 1.094 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008884/0.7546, allocations: 5.678 MB / 1.566 GB, free: 11.44 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007316/0.7554, allocations: 93.7 kB / 1.567 GB, free: 11.34 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003755/0.7591, allocations: 3.275 MB / 1.57 GB, free: 8.039 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/0.7609, allocations: 1.174 MB / 1.571 GB, free: 6.855 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.7624, allocations: 0.8624 MB / 1.572 GB, free: 5.98 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7625, allocations: 305.1 kB / 1.572 GB, free: 5.68 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.7661, allocations: 2.189 MB / 1.574 GB, free: 3.477 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/0.7711, allocations: 3.83 MB / 1.578 GB, free: 14.91 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009549/0.7806, allocations: 6.319 MB / 1.584 GB, free: 7.879 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-05/0.7807, allocations: 16 kB / 1.584 GB, free: 7.863 MB / 1.279 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01288/0.7935, allocations: 6.819 MB / 1.591 GB, free: 0.9883 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.7936, allocations: 57.7 kB / 1.591 GB, free: 0.9258 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/0.7937, allocations: 48.09 kB / 1.591 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.7947, allocations: 441.2 kB / 1.591 GB, free: 452 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.7986, allocations: 1.01 MB / 1.592 GB, free: 15.43 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.8047, allocations: 5.414 MB / 1.598 GB, free: 9.797 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.8093, allocations: 283.7 kB / 1.598 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006171/0.81, allocations: 220 kB / 1.598 GB, free: 9.305 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.004273/0.8142, allocations: 2.479 MB / 1.6 GB, free: 6.812 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/0.8157, allocations: 0.5551 MB / 1.601 GB, free: 6.254 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/0.8252, allocations: 5.266 MB / 1.606 GB, free: 0.9297 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.8253, allocations: 32 kB / 1.606 GB, free: 0.8984 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8253, allocations: 4 kB / 1.606 GB, free: 0.8945 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7774/1.603, allocations: 4.512 MB / 1.611 GB, free: 243.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/1.63, allocations: 11.08 MB / 1.621 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.63, allocations: 1.344 kB / 1.621 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/1.633, allocations: 0.6429 MB / 1.622 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009635/1.634, allocations: 372.1 kB / 1.622 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/1.634, allocations: 87.12 kB / 1.622 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/1.639, allocations: 5.329 MB / 1.628 GB, free: 235.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.639, allocations: 1.094 kB / 1.628 GB, free: 235.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.653, allocations: 7.749 MB / 1.635 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/1.657, allocations: 1.146 MB / 1.636 GB, free: 232.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/1.658, allocations: 69.12 kB / 1.636 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/1.662, allocations: 196.1 kB / 1.637 GB, free: 232.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/1.662, allocations: 211 kB / 1.637 GB, free: 232.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/1.663, allocations: 140.8 kB / 1.637 GB, free: 232.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00674/1.669, allocations: 3.971 MB / 1.641 GB, free: 231 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.669, allocations: 0 / 1.641 GB, free: 231 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007249/1.677, allocations: 2.032 MB / 1.643 GB, free: 230.7 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.0117/1.688, allocations: 8.672 MB / 1.651 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006893/1.695, allocations: 5.266 MB / 1.656 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.695, allocations: 3.906 kB / 1.656 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/1.698, allocations: 2.366 MB / 1.659 GB, free: 223.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01444/1.712, allocations: 3.397 MB / 1.662 GB, free: 220.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06882/1.781, allocations: 52.74 MB / 1.714 GB, free: 166.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/1.785, allocations: 4.151 MB / 1.718 GB, free: 161.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005636/1.79, allocations: 2.068 MB / 1.72 GB, free: 159.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003869/1.794, allocations: 2.667 MB / 1.722 GB, free: 157.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.213e-06/1.794, allocations: 0 / 1.722 GB, free: 157.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/2.014, allocations: 171.5 MB / 1.89 GB, free: 3.727 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/24.52, allocations: 6.031 kB / 1.89 GB, free: 3.723 MB / 1.311 GB " [Timeout remaining time 275] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.81694439810235]