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.001698/0.001698, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001498/0.001498, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 2.901/2.901, allocations: 476.8 MB / 0.7715 GB, free: 3.891 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.002081/0.002081, allocations: 68.05 kB / 1.118 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.454, allocations: 169.9 MB / 1.284 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05452/0.5086, allocations: 45.36 MB / 1.328 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02401/0.5326, allocations: 12.92 MB / 1.341 GB, free: 8.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006144/0.5387, allocations: 99.25 kB / 1.341 GB, free: 8.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.543, allocations: 0.807 MB / 1.342 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.5533, allocations: 2.398 MB / 1.344 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.5578, allocations: 1.365 MB / 1.346 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02503/0.5828, allocations: 20.1 MB / 1.365 GB, free: 28 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.5944, allocations: 6.439 MB / 1.371 GB, free: 9.465 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01713/0.6115, allocations: 6.727 MB / 1.378 GB, free: 2.762 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.6246, allocations: 6.031 MB / 1.384 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003282/0.6279, allocations: 0.8516 MB / 1.385 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007951/0.6359, allocations: 1.487 MB / 1.386 GB, free: 10.37 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005107/0.641, allocations: 2.211 MB / 1.388 GB, free: 8.148 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01163/0.6526, allocations: 3.502 MB / 1.392 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02357/0.6762, allocations: 12.18 MB / 1.404 GB, free: 8.41 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.6762, allocations: 3.984 kB / 1.404 GB, free: 8.406 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6762, allocations: 0 / 1.404 GB, free: 8.406 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005504/0.6767, allocations: 0 / 1.404 GB, free: 8.406 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.02782/0.7045, allocations: 7.863 MB / 1.411 GB, free: 488 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.7046, allocations: 8.031 kB / 1.411 GB, free: 480 kB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002515/0.7049, allocations: 147.2 kB / 1.412 GB, free: 332 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003962/0.7088, allocations: 0.7642 MB / 1.412 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/0.7151, allocations: 0.8829 MB / 1.413 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.7331, allocations: 6.378 MB / 1.419 GB, free: 8.203 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005959/0.7337, allocations: 419 kB / 1.42 GB, free: 7.793 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/0.7366, allocations: 0.539 MB / 1.42 GB, free: 7.254 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/0.7629, allocations: 9.131 MB / 1.429 GB, free: 13.63 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/0.7632, allocations: 15.88 kB / 1.429 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/0.7655, allocations: 240 kB / 1.429 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.7658, allocations: 163.9 kB / 1.43 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.7858, allocations: 6.528 MB / 1.436 GB, free: 6.68 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.05675/0.8426, allocations: 23.3 MB / 1.459 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007438/0.85, allocations: 3.434 MB / 1.462 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005457/0.8555, allocations: 2.579 MB / 1.465 GB, free: 8.949 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/0.8564, allocations: 146 kB / 1.465 GB, free: 8.805 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.8565, allocations: 72.67 kB / 1.465 GB, free: 8.723 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 7.995e-06/0.8565, allocations: 0 / 1.465 GB, free: 8.723 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01513/0.8717, allocations: 5.626 MB / 1.47 GB, free: 3.031 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.8717, allocations: 77.52 kB / 1.47 GB, free: 2.941 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/0.8852, allocations: 5.251 MB / 1.476 GB, free: 13.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008869/0.8861, allocations: 77.7 kB / 1.476 GB, free: 13.61 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004104/0.8902, allocations: 2.93 MB / 1.478 GB, free: 10.66 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002147/0.8924, allocations: 0.98 MB / 1.479 GB, free: 9.668 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002698/0.8951, allocations: 0.7195 MB / 1.48 GB, free: 8.941 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.8953, allocations: 309.1 kB / 1.48 GB, free: 8.637 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/0.8994, allocations: 1.674 MB / 1.482 GB, free: 6.961 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005263/0.9046, allocations: 3.028 MB / 1.485 GB, free: 3.355 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/0.9137, allocations: 4.97 MB / 1.49 GB, free: 13.79 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.537e-05/0.9137, allocations: 12 kB / 1.49 GB, free: 13.78 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01336/0.9271, allocations: 5.451 MB / 1.495 GB, free: 8.277 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.9272, allocations: 24 kB / 1.495 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.403e-05/0.9273, allocations: 40.91 kB / 1.495 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.9285, allocations: 419.6 kB / 1.496 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/0.9324, allocations: 0.858 MB / 1.496 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/0.9397, allocations: 5.433 MB / 1.502 GB, free: 1.285 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/0.9456, allocations: 0.5315 MB / 1.502 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.9467, allocations: 188 kB / 1.502 GB, free: 0.5664 MB / 1.201 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.006731/0.9534, allocations: 2.277 MB / 1.505 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002665/0.9561, allocations: 0.5085 MB / 1.505 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.9681, allocations: 4.172 MB / 1.509 GB, free: 9.535 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.674e-05/0.9681, allocations: 27.98 kB / 1.509 GB, free: 9.508 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/0.9682, allocations: 8 kB / 1.509 GB, free: 9.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007143/0.9753, allocations: 3.628 MB / 1.513 GB, free: 5.758 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.003, allocations: 9.541 MB / 1.522 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.003, allocations: 4 kB / 1.522 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.006, allocations: 0.4958 MB / 1.523 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/1.007, allocations: 369.3 kB / 1.523 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005277/1.008, allocations: 83.95 kB / 1.523 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/1.015, allocations: 5.355 MB / 1.528 GB, free: 5.527 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.015, allocations: 7.938 kB / 1.528 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.029, allocations: 6.271 MB / 1.534 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004723/1.034, allocations: 1.076 MB / 1.536 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/1.036, allocations: 67.98 kB / 1.536 GB, free: 13.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004785/1.041, allocations: 171.8 kB / 1.536 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006759/1.042, allocations: 189.5 kB / 1.536 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006583/1.042, allocations: 127.9 kB / 1.536 GB, free: 13.45 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.01051/1.053, allocations: 3.843 MB / 1.54 GB, free: 9.625 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.21e-07/1.053, allocations: 0 / 1.54 GB, free: 9.625 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00929/1.062, allocations: 1.813 MB / 1.542 GB, free: 7.809 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.01595/1.078, allocations: 7.183 MB / 1.549 GB, free: 456 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008984/1.087, allocations: 4.137 MB / 1.553 GB, free: 12.27 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/1.087, allocations: 4 kB / 1.553 GB, free: 12.26 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/1.091, allocations: 1.922 MB / 1.554 GB, free: 10.31 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02118/1.112, allocations: 3.451 MB / 1.558 GB, free: 6.953 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9856/2.098, allocations: 47.19 MB / 1.604 GB, free: 244.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007877/2.106, allocations: 3.808 MB / 1.608 GB, free: 243.3 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.007597/2.113, allocations: 1.849 MB / 1.609 GB, free: 243.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006387/2.12, allocations: 2.446 MB / 1.612 GB, free: 241.3 MB / 1.264 GB Notification: Performance of SimCode: time 2.786e-06/2.12, allocations: 5.938 kB / 1.612 GB, free: 241.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/2.339, allocations: 164.9 MB / 1.773 GB, free: 80.65 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 24/26.34, allocations: 7.031 kB / 1.773 GB, free: 80.65 MB / 1.264 GB " [Timeout remaining time 273] (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: 34.27708813699428]