Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001422/0.001422, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001618/0.001618, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 8.008 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.006/3.006, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.002026/0.002026, allocations: 73.42 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3069, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04956/0.3565, allocations: 50.43 MB / 1.402 GB, free: 5.824 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.3763, allocations: 13.98 MB / 1.416 GB, free: 7.805 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003466/0.3797, allocations: 91.25 kB / 1.416 GB, free: 7.715 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.3821, allocations: 0.8421 MB / 1.417 GB, free: 6.867 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.3881, allocations: 2.407 MB / 1.419 GB, free: 4.449 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.3911, allocations: 1.377 MB / 1.42 GB, free: 3.082 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01977/0.4108, allocations: 20.16 MB / 1.44 GB, free: 14.87 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008708/0.4195, allocations: 6.439 MB / 1.446 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/0.4327, allocations: 6.893 MB / 1.453 GB, free: 1.438 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.4439, allocations: 5.969 MB / 1.459 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.4461, allocations: 0.8438 MB / 1.46 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.4513, allocations: 1.682 MB / 1.461 GB, free: 8.918 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.454, allocations: 2.204 MB / 1.464 GB, free: 6.707 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.4614, allocations: 4.307 MB / 1.468 GB, free: 2.383 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4762, allocations: 12.19 MB / 1.48 GB, free: 6.152 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4762, allocations: 0 / 1.48 GB, free: 6.152 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4762, allocations: 0 / 1.48 GB, free: 6.152 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002987/0.4765, allocations: 0 / 1.48 GB, free: 6.152 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01648/0.4929, allocations: 7.855 MB / 1.487 GB, free: 14.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.493, allocations: 12.03 kB / 1.487 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001306/0.4943, allocations: 0.772 MB / 1.488 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.4973, allocations: 0.8829 MB / 1.489 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.5093, allocations: 6.381 MB / 1.495 GB, free: 6.086 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.5096, allocations: 423.2 kB / 1.496 GB, free: 5.672 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.5109, allocations: 0.5351 MB / 1.496 GB, free: 5.137 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.5251, allocations: 8.073 MB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.5252, allocations: 15.89 kB / 1.504 GB, free: 12.81 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005726/0.5258, allocations: 236 kB / 1.504 GB, free: 12.58 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.5259, allocations: 175.8 kB / 1.504 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.5375, allocations: 6.524 MB / 1.511 GB, free: 5.875 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.04423/0.5817, allocations: 31.21 MB / 1.541 GB, free: 4.812 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005868/0.5876, allocations: 3.434 MB / 1.545 GB, free: 1.375 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.5917, allocations: 2.582 MB / 1.547 GB, free: 14.79 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/0.5924, allocations: 157.9 kB / 1.547 GB, free: 14.63 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.245e-05/0.5925, allocations: 72.45 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of pre-optimization done (n=267): time 4.598e-06/0.5925, allocations: 4 kB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of matching and sorting (n=267): time 0.01131/0.6038, allocations: 5.622 MB / 1.553 GB, free: 8.859 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.6039, allocations: 81.52 kB / 1.553 GB, free: 8.766 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009741/0.6136, allocations: 5.247 MB / 1.558 GB, free: 3.52 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005233/0.6141, allocations: 77.7 kB / 1.558 GB, free: 3.438 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/0.6171, allocations: 2.934 MB / 1.561 GB, free: 492 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6185, allocations: 0.9841 MB / 1.562 GB, free: 15.48 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.62, allocations: 0.7118 MB / 1.563 GB, free: 14.77 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6201, allocations: 308.9 kB / 1.563 GB, free: 14.46 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.6229, allocations: 1.67 MB / 1.565 GB, free: 12.79 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/0.6267, allocations: 2.936 MB / 1.567 GB, free: 9.305 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/0.6336, allocations: 4.966 MB / 1.572 GB, free: 3.746 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.6337, allocations: 12 kB / 1.572 GB, free: 3.734 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009734/0.6434, allocations: 5.447 MB / 1.578 GB, free: 14.23 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.6434, allocations: 20 kB / 1.578 GB, free: 14.21 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.537e-05/0.6435, allocations: 40 kB / 1.578 GB, free: 14.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/0.6445, allocations: 426 kB / 1.578 GB, free: 13.75 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/0.6476, allocations: 0.858 MB / 1.579 GB, free: 12.89 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/0.6539, allocations: 5.499 MB / 1.584 GB, free: 7.176 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/0.6581, allocations: 0.5354 MB / 1.585 GB, free: 6.637 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/0.6587, allocations: 176 kB / 1.585 GB, free: 6.465 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.004857/0.6636, allocations: 2.292 MB / 1.587 GB, free: 4.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/0.6654, allocations: 0.5007 MB / 1.588 GB, free: 3.656 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008236/0.6736, allocations: 4.176 MB / 1.592 GB, free: 15.42 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.6737, allocations: 28 kB / 1.592 GB, free: 15.39 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.6737, allocations: 4 kB / 1.592 GB, free: 15.39 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005664/0.6793, allocations: 3.628 MB / 1.595 GB, free: 11.65 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/0.7009, allocations: 10.29 MB / 1.605 GB, free: 1.191 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.7009, allocations: 11.98 kB / 1.605 GB, free: 1.18 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.7032, allocations: 0.4954 MB / 1.606 GB, free: 0.6836 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/0.7041, allocations: 372.1 kB / 1.606 GB, free: 324 kB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/0.7044, allocations: 79.95 kB / 1.606 GB, free: 244 kB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6389/1.343, allocations: 5.414 MB / 1.612 GB, free: 232.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.343, allocations: 8.781 kB / 1.612 GB, free: 232.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009965/1.353, allocations: 6.279 MB / 1.618 GB, free: 230.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/1.356, allocations: 1.072 MB / 1.619 GB, free: 230.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007302/1.357, allocations: 63.27 kB / 1.619 GB, free: 230.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.359, allocations: 178.1 kB / 1.619 GB, free: 230.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/1.36, allocations: 189.2 kB / 1.619 GB, free: 230.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.36, allocations: 126 kB / 1.619 GB, free: 230 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006307/1.366, allocations: 3.845 MB / 1.623 GB, free: 228.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.366, allocations: 0 / 1.623 GB, free: 228.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004689/1.371, allocations: 1.829 MB / 1.625 GB, free: 228.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.009209/1.38, allocations: 7.171 MB / 1.632 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00612/1.386, allocations: 4.134 MB / 1.636 GB, free: 223.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.386, allocations: 6 kB / 1.636 GB, free: 223.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.389, allocations: 1.924 MB / 1.638 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01479/1.403, allocations: 3.466 MB / 1.641 GB, free: 222.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05458/1.458, allocations: 47.21 MB / 1.687 GB, free: 187.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.461, allocations: 4.303 MB / 1.691 GB, free: 183.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004661/1.465, allocations: 1.852 MB / 1.693 GB, free: 181.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/1.468, allocations: 2.444 MB / 1.696 GB, free: 178.9 MB / 1.295 GB Notification: Performance of SimCode: time 7.41e-07/1.468, allocations: 0 / 1.696 GB, free: 178.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/1.651, allocations: 157.8 MB / 1.85 GB, free: 22.27 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.77/21.43, allocations: 7.938 kB / 1.85 GB, free: 22.27 MB / 1.295 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 28.01553303608671]