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.001669/0.001669, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002056/0.002056, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 8.922 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.147/3.147, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_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.001928/0.001928, allocations: 63.19 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0648/0.4011, allocations: 56.73 MB / 1.376 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.4279, allocations: 18.08 MB / 1.394 GB, free: 8.258 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.4307, allocations: 103.2 kB / 1.394 GB, free: 8.156 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.4346, allocations: 0.9313 MB / 1.395 GB, free: 7.219 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.4449, allocations: 2.62 MB / 1.397 GB, free: 4.586 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.4501, allocations: 1.527 MB / 1.399 GB, free: 3.066 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03228/0.4824, allocations: 21.27 MB / 1.42 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01845/0.5009, allocations: 8.886 MB / 1.428 GB, free: 4.727 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02248/0.5234, allocations: 7.514 MB / 1.436 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01967/0.543, allocations: 6.576 MB / 1.442 GB, free: 6.633 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.004794/0.5478, allocations: 0.9375 MB / 1.443 GB, free: 5.695 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008837/0.5567, allocations: 1.752 MB / 1.445 GB, free: 3.941 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005829/0.5625, allocations: 2.437 MB / 1.447 GB, free: 1.496 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.574, allocations: 4.719 MB / 1.452 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.5973, allocations: 13.32 MB / 1.465 GB, free: 15.39 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5973, allocations: 0 / 1.465 GB, free: 15.39 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5973, allocations: 3.938 kB / 1.465 GB, free: 15.39 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005805/0.5979, allocations: 3.938 kB / 1.465 GB, free: 15.38 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.02541/0.6233, allocations: 8.705 MB / 1.473 GB, free: 6.574 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.6233, allocations: 11.98 kB / 1.473 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00302/0.6263, allocations: 0.8422 MB / 1.474 GB, free: 5.711 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.6314, allocations: 0.9566 MB / 1.475 GB, free: 4.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.646, allocations: 6.751 MB / 1.482 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005214/0.6466, allocations: 464.1 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.6494, allocations: 0.5976 MB / 1.483 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.6724, allocations: 9.036 MB / 1.491 GB, free: 3.527 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.6726, allocations: 23.83 kB / 1.492 GB, free: 3.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.6739, allocations: 264 kB / 1.492 GB, free: 3.246 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002629/0.6741, allocations: 179.9 kB / 1.492 GB, free: 3.07 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.6917, allocations: 7.465 MB / 1.499 GB, free: 11.59 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.0585/0.7502, allocations: 36.1 MB / 1.534 GB, free: 5.438 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00722/0.7575, allocations: 3.997 MB / 1.538 GB, free: 1.438 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005072/0.7625, allocations: 3.035 MB / 1.541 GB, free: 14.4 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.764, allocations: 0.9583 MB / 1.542 GB, free: 13.25 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004489/0.7685, allocations: 2.394 MB / 1.545 GB, free: 10.82 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002412/0.7709, allocations: 393 kB / 1.545 GB, free: 10.44 MB / 1.248 GB Notification: Performance of pre-optimization done (n=317): time 6.983e-06/0.7709, allocations: 4 kB / 1.545 GB, free: 10.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=317): time 0.01438/0.7853, allocations: 7.143 MB / 1.552 GB, free: 3.203 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/0.7854, allocations: 93.89 kB / 1.552 GB, free: 3.098 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/0.796, allocations: 5.67 MB / 1.558 GB, free: 13.45 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007778/0.7967, allocations: 89.7 kB / 1.558 GB, free: 13.36 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/0.8003, allocations: 3.267 MB / 1.561 GB, free: 10.06 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/0.8021, allocations: 1.174 MB / 1.562 GB, free: 8.879 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.8036, allocations: 0.8624 MB / 1.563 GB, free: 8.004 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.8038, allocations: 305.1 kB / 1.563 GB, free: 7.703 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/0.8075, allocations: 2.167 MB / 1.565 GB, free: 5.527 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005184/0.8127, allocations: 3.701 MB / 1.569 GB, free: 1.125 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/0.8224, allocations: 6.319 MB / 1.575 GB, free: 10.09 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.507e-05/0.8224, allocations: 12 kB / 1.575 GB, free: 10.08 MB / 1.279 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01364/0.8361, allocations: 6.786 MB / 1.582 GB, free: 3.242 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/0.8362, allocations: 59.72 kB / 1.582 GB, free: 3.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-05/0.8363, allocations: 48 kB / 1.582 GB, free: 3.133 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.8374, allocations: 430.6 kB / 1.582 GB, free: 2.707 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.8414, allocations: 1.01 MB / 1.583 GB, free: 1.695 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/0.8484, allocations: 5.707 MB / 1.589 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/0.8533, allocations: 283.5 kB / 1.589 GB, free: 11.43 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007794/0.854, allocations: 220 kB / 1.589 GB, free: 11.21 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.005199/0.8592, allocations: 2.479 MB / 1.592 GB, free: 8.723 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/0.8612, allocations: 0.5512 MB / 1.592 GB, free: 8.168 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.8722, allocations: 5.263 MB / 1.597 GB, free: 2.848 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/0.8723, allocations: 32 kB / 1.597 GB, free: 2.816 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.8723, allocations: 4 kB / 1.597 GB, free: 2.812 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263/2.135, allocations: 4.507 MB / 1.602 GB, free: 259.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/2.162, allocations: 11.96 MB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/2.162, allocations: 1.719 kB / 1.613 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003574/2.165, allocations: 0.6495 MB / 1.614 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009829/2.166, allocations: 370.1 kB / 1.614 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/2.167, allocations: 83.17 kB / 1.615 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/2.172, allocations: 5.617 MB / 1.62 GB, free: 251.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/2.172, allocations: 1.156 kB / 1.62 GB, free: 251.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/2.184, allocations: 7.778 MB / 1.628 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/2.187, allocations: 1.182 MB / 1.629 GB, free: 248.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009055/2.188, allocations: 68.36 kB / 1.629 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/2.191, allocations: 198.3 kB / 1.629 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/2.191, allocations: 202 kB / 1.629 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/2.191, allocations: 139.5 kB / 1.629 GB, free: 248 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005809/2.197, allocations: 3.96 MB / 1.633 GB, free: 246.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/2.197, allocations: 0 / 1.633 GB, free: 246.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005722/2.203, allocations: 2.032 MB / 1.635 GB, free: 246.4 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.01081/2.214, allocations: 8.723 MB / 1.644 GB, free: 242.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006996/2.221, allocations: 5.243 MB / 1.649 GB, free: 240.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/2.221, allocations: 3.781 kB / 1.649 GB, free: 240.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/2.224, allocations: 2.372 MB / 1.651 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/2.239, allocations: 3.399 MB / 1.654 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07934/2.319, allocations: 52.54 MB / 1.706 GB, free: 182.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003112/2.322, allocations: 4.636 MB / 1.71 GB, free: 177.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005168/2.327, allocations: 2.081 MB / 1.712 GB, free: 175.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003929/2.331, allocations: 2.671 MB / 1.715 GB, free: 173.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/2.331, allocations: 0 / 1.715 GB, free: 173.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/2.528, allocations: 160.4 MB / 1.872 GB, free: 13.93 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/23.29, allocations: 17.86 kB / 1.872 GB, free: 13.91 MB / 1.295 GB " [Timeout remaining time 277] (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: 30.37767477100715]