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.001148/0.001148, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001214/0.001214, allocations: 217 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.895/2.895, allocations: 0.5002 GB / 0.8061 GB, free: 26.81 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.001859/0.001859, allocations: 62.06 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3032, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0569/0.3601, allocations: 57.28 MB / 1.401 GB, free: 6.953 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02381/0.3839, allocations: 18.21 MB / 1.419 GB, free: 4.691 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.3866, allocations: 99.19 kB / 1.419 GB, free: 4.594 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.3891, allocations: 0.9235 MB / 1.42 GB, free: 3.664 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00704/0.3962, allocations: 2.677 MB / 1.423 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.4, allocations: 1.609 MB / 1.424 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02292/0.4229, allocations: 21.83 MB / 1.446 GB, free: 9.488 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009838/0.4328, allocations: 7.097 MB / 1.452 GB, free: 2.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/0.4464, allocations: 7.518 MB / 1.46 GB, free: 10.77 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4575, allocations: 6.584 MB / 1.466 GB, free: 4.16 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.4597, allocations: 0.9414 MB / 1.467 GB, free: 3.219 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.4652, allocations: 1.776 MB / 1.469 GB, free: 1.441 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.4679, allocations: 2.434 MB / 1.471 GB, free: 15 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.007426/0.4753, allocations: 4.723 MB / 1.476 GB, free: 10.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.4902, allocations: 13.32 MB / 1.489 GB, free: 12.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4902, allocations: 0 / 1.489 GB, free: 12.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4902, allocations: 0 / 1.489 GB, free: 12.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002961/0.4905, allocations: 3.938 kB / 1.489 GB, free: 12.89 MB / 1.186 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.017/0.5075, allocations: 8.638 MB / 1.497 GB, free: 4.168 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5076, allocations: 8.031 kB / 1.497 GB, free: 4.16 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001521/0.5077, allocations: 164.4 kB / 1.497 GB, free: 3.996 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/0.5091, allocations: 0.8422 MB / 1.498 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/0.5123, allocations: 0.9605 MB / 1.499 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.5247, allocations: 6.781 MB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.5251, allocations: 460.2 kB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.5262, allocations: 0.5976 MB / 1.507 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.5413, allocations: 9.032 MB / 1.516 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.5414, allocations: 23.83 kB / 1.516 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006352/0.542, allocations: 260 kB / 1.516 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.5422, allocations: 183.9 kB / 1.516 GB, free: 464 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.555, allocations: 7.457 MB / 1.523 GB, free: 8.988 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.04709/0.6021, allocations: 36.02 MB / 1.559 GB, free: 2.895 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/0.6081, allocations: 4.002 MB / 1.563 GB, free: 14.89 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004393/0.6125, allocations: 3.043 MB / 1.566 GB, free: 11.84 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008994/0.6134, allocations: 218.2 kB / 1.566 GB, free: 11.63 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00368/0.617, allocations: 2.39 MB / 1.568 GB, free: 9.203 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002186/0.6192, allocations: 397.1 kB / 1.568 GB, free: 8.812 MB / 1.264 GB Notification: Performance of pre-optimization done (n=317): time 5.23e-06/0.6192, allocations: 0 / 1.568 GB, free: 8.812 MB / 1.264 GB Notification: Performance of matching and sorting (n=317): time 0.01279/0.632, allocations: 7 MB / 1.575 GB, free: 1.762 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.6321, allocations: 85.91 kB / 1.575 GB, free: 1.664 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008537/0.6406, allocations: 5.678 MB / 1.581 GB, free: 12 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/0.6413, allocations: 85.7 kB / 1.581 GB, free: 11.91 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003142/0.6444, allocations: 3.275 MB / 1.584 GB, free: 8.617 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.6459, allocations: 1.17 MB / 1.585 GB, free: 7.438 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.6472, allocations: 0.8663 MB / 1.586 GB, free: 6.559 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6473, allocations: 305.1 kB / 1.586 GB, free: 6.258 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.6506, allocations: 2.16 MB / 1.589 GB, free: 4.09 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.6551, allocations: 3.689 MB / 1.592 GB, free: 15.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008253/0.6633, allocations: 6.327 MB / 1.598 GB, free: 8.652 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.6634, allocations: 19.83 kB / 1.598 GB, free: 8.637 MB / 1.295 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01161/0.675, allocations: 6.79 MB / 1.605 GB, free: 1.797 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.675, allocations: 53.7 kB / 1.605 GB, free: 1.738 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-05/0.6751, allocations: 48 kB / 1.605 GB, free: 1.691 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009884/0.6761, allocations: 444.2 kB / 1.606 GB, free: 1.254 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/0.6795, allocations: 1.006 MB / 1.606 GB, free: 252 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056/1.736, allocations: 5.473 MB / 1.612 GB, free: 238.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/1.741, allocations: 283.8 kB / 1.612 GB, free: 238.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/1.741, allocations: 222.6 kB / 1.612 GB, free: 238.4 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.004801/1.746, allocations: 2.488 MB / 1.615 GB, free: 237.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.748, allocations: 0.5555 MB / 1.615 GB, free: 237.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008644/1.756, allocations: 5.251 MB / 1.62 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/1.756, allocations: 31.83 kB / 1.62 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.756, allocations: 4.703 kB / 1.62 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007113/1.763, allocations: 4.528 MB / 1.625 GB, free: 234 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.783, allocations: 12.01 MB / 1.637 GB, free: 229.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.783, allocations: 2.344 kB / 1.637 GB, free: 229.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.786, allocations: 0.6439 MB / 1.637 GB, free: 229.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007553/1.786, allocations: 373.8 kB / 1.638 GB, free: 229.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.786, allocations: 86.2 kB / 1.638 GB, free: 229.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/1.791, allocations: 5.412 MB / 1.643 GB, free: 225.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.791, allocations: 1.312 kB / 1.643 GB, free: 225.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009884/1.801, allocations: 7.79 MB / 1.651 GB, free: 222.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/1.804, allocations: 1.139 MB / 1.652 GB, free: 222 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008165/1.804, allocations: 63.58 kB / 1.652 GB, free: 222 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.807, allocations: 204.1 kB / 1.652 GB, free: 221.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/1.807, allocations: 208.5 kB / 1.652 GB, free: 221.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/1.808, allocations: 144 kB / 1.652 GB, free: 221.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00474/1.812, allocations: 3.963 MB / 1.656 GB, free: 220.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/1.812, allocations: 0 / 1.656 GB, free: 220.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00553/1.818, allocations: 2.036 MB / 1.658 GB, free: 220.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.009477/1.827, allocations: 8.715 MB / 1.667 GB, free: 215.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005986/1.833, allocations: 5.247 MB / 1.672 GB, free: 210.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.833, allocations: 0 / 1.672 GB, free: 210.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.836, allocations: 2.372 MB / 1.674 GB, free: 207.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/1.848, allocations: 3.396 MB / 1.677 GB, free: 204.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05778/1.906, allocations: 52.66 MB / 1.729 GB, free: 150.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.909, allocations: 4.624 MB / 1.733 GB, free: 145.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004608/1.913, allocations: 2.081 MB / 1.735 GB, free: 143.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002843/1.916, allocations: 2.678 MB / 1.738 GB, free: 140.7 MB / 1.295 GB Notification: Performance of SimCode: time 6.61e-07/1.916, allocations: 0 / 1.738 GB, free: 140.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/2.12, allocations: 164.3 MB / 1.898 GB, free: 9.551 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.1/23.22, allocations: 10.03 kB / 1.898 GB, free: 9.543 MB / 1.326 GB " [Timeout remaining time 277] (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: 29.996553772944026]