Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001516/0.001516, 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.001966/0.001966, allocations: 218.3 kB / 22.26 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.708/1.708, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.102/3.102, allocations: 476.8 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_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.002141/0.002141, allocations: 65.25 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.41, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.07023/0.4803, allocations: 50.36 MB / 1.333 GB, free: 9.148 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.5053, allocations: 13.98 MB / 1.346 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.5086, allocations: 91.25 kB / 1.346 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.5117, allocations: 0.8304 MB / 1.347 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008146/0.5199, allocations: 2.418 MB / 1.349 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.5244, allocations: 1.38 MB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03067/0.5551, allocations: 20.1 MB / 1.37 GB, free: 2.254 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/0.5693, allocations: 6.451 MB / 1.377 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01813/0.5874, allocations: 6.677 MB / 1.383 GB, free: 5.027 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01275/0.6002, allocations: 6.051 MB / 1.389 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.6037, allocations: 0.8438 MB / 1.39 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008892/0.6126, allocations: 1.678 MB / 1.392 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005301/0.6179, allocations: 2.204 MB / 1.394 GB, free: 10.22 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01197/0.6299, allocations: 4.295 MB / 1.398 GB, free: 5.906 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.6519, allocations: 12.14 MB / 1.41 GB, free: 9.727 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.6519, allocations: 4 kB / 1.41 GB, free: 9.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6519, allocations: 4 kB / 1.41 GB, free: 9.719 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005176/0.6525, allocations: 0 / 1.41 GB, free: 9.719 MB / 1.107 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.02577/0.6782, allocations: 7.857 MB / 1.418 GB, free: 1.793 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6783, allocations: 12.03 kB / 1.418 GB, free: 1.781 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003798/0.6821, allocations: 0.7603 MB / 1.418 GB, free: 1.012 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005793/0.6879, allocations: 0.8829 MB / 1.419 GB, free: 128 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/0.7052, allocations: 6.38 MB / 1.425 GB, free: 9.66 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/0.7057, allocations: 415.2 kB / 1.426 GB, free: 9.254 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.7082, allocations: 0.539 MB / 1.426 GB, free: 8.715 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/0.7353, allocations: 8.073 MB / 1.434 GB, free: 416 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/0.7357, allocations: 19.89 kB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/0.7387, allocations: 232 kB / 1.434 GB, free: 164 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003965/0.7391, allocations: 172 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.7581, allocations: 6.524 MB / 1.441 GB, free: 9.457 MB / 1.139 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.0616/0.8197, allocations: 31.16 MB / 1.471 GB, free: 8.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/0.8266, allocations: 3.44 MB / 1.475 GB, free: 5.012 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/0.8312, allocations: 2.59 MB / 1.477 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/0.8321, allocations: 153.9 kB / 1.477 GB, free: 2.258 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.8322, allocations: 72.67 kB / 1.477 GB, free: 2.176 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 7.624e-06/0.8322, allocations: 0 / 1.477 GB, free: 2.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01406/0.8463, allocations: 5.63 MB / 1.483 GB, free: 12.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.8463, allocations: 81.52 kB / 1.483 GB, free: 12.39 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/0.8579, allocations: 5.243 MB / 1.488 GB, free: 7.148 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007734/0.8587, allocations: 77.7 kB / 1.488 GB, free: 7.066 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003576/0.8622, allocations: 2.93 MB / 1.491 GB, free: 4.113 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001779/0.864, allocations: 0.9878 MB / 1.492 GB, free: 3.117 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002183/0.8662, allocations: 0.7195 MB / 1.493 GB, free: 2.391 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8663, allocations: 309 kB / 1.493 GB, free: 2.086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.8697, allocations: 1.674 MB / 1.495 GB, free: 420 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/0.8743, allocations: 2.932 MB / 1.498 GB, free: 12.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008105/0.8824, allocations: 4.97 MB / 1.502 GB, free: 7.367 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.856e-05/0.8824, allocations: 12 kB / 1.502 GB, free: 7.355 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01237/0.8948, allocations: 5.452 MB / 1.508 GB, free: 1.852 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.8949, allocations: 20 kB / 1.508 GB, free: 1.832 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.613e-05/0.895, allocations: 40 kB / 1.508 GB, free: 1.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.8962, allocations: 417.5 kB / 1.508 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.8996, allocations: 0.8619 MB / 1.509 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006988/0.9066, allocations: 5.488 MB / 1.514 GB, free: 10.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.9115, allocations: 0.5316 MB / 1.515 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/0.9123, allocations: 176 kB / 1.515 GB, free: 10.1 MB / 1.217 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.00549/0.9178, allocations: 2.285 MB / 1.517 GB, free: 7.805 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002091/0.9198, allocations: 0.5007 MB / 1.518 GB, free: 7.301 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009574/0.9294, allocations: 4.173 MB / 1.522 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/0.9295, allocations: 28 kB / 1.522 GB, free: 3.047 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.9295, allocations: 4 kB / 1.522 GB, free: 3.043 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006233/0.9357, allocations: 3.628 MB / 1.525 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/0.9614, allocations: 10.29 MB / 1.536 GB, free: 4.836 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/0.9614, allocations: 8 kB / 1.536 GB, free: 4.828 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/0.9639, allocations: 0.5037 MB / 1.536 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.965, allocations: 375.9 kB / 1.536 GB, free: 3.953 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/0.9654, allocations: 79.95 kB / 1.536 GB, free: 3.875 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007273/0.9726, allocations: 5.42 MB / 1.542 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.9727, allocations: 15.88 kB / 1.542 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.9858, allocations: 6.257 MB / 1.548 GB, free: 7.789 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004369/0.9902, allocations: 1.084 MB / 1.549 GB, free: 6.699 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/0.9922, allocations: 63.98 kB / 1.549 GB, free: 6.637 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/0.9962, allocations: 171.7 kB / 1.549 GB, free: 6.469 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005847/0.9968, allocations: 193.5 kB / 1.549 GB, free: 6.277 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005366/0.9974, allocations: 127.8 kB / 1.549 GB, free: 6.152 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.009341/1.007, allocations: 3.847 MB / 1.553 GB, free: 2.32 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.41e-07/1.007, allocations: 0 / 1.553 GB, free: 2.32 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008941/1.016, allocations: 1.817 MB / 1.555 GB, free: 0.5 MB / 1.248 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.01488/1.031, allocations: 7.179 MB / 1.562 GB, free: 9.141 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008955/1.039, allocations: 4.133 MB / 1.566 GB, free: 4.965 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.039, allocations: 7.938 kB / 1.566 GB, free: 4.957 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/1.043, allocations: 1.923 MB / 1.568 GB, free: 3.008 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0192/1.063, allocations: 3.455 MB / 1.571 GB, free: 15.65 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.049/2.112, allocations: 47.2 MB / 1.617 GB, free: 285.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/2.118, allocations: 4.299 MB / 1.622 GB, free: 284.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005535/2.124, allocations: 1.849 MB / 1.623 GB, free: 284.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/2.127, allocations: 2.447 MB / 1.626 GB, free: 282.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/2.127, allocations: 0 / 1.626 GB, free: 282.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.223/2.35, allocations: 157.8 MB / 1.78 GB, free: 140.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/25.53, allocations: 5.562 kB / 1.78 GB, free: 140.2 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 33.451288998126984]