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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254/1.256, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06368/1.32, allocations: 50.12 MB / 1.321 GB, free: 4.266 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02767/1.347, allocations: 13.96 MB / 1.335 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005152/1.352, allocations: 68.72 kB / 1.335 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004273/1.357, allocations: 0.8411 MB / 1.335 GB, free: 9.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/1.368, allocations: 2.351 MB / 1.338 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005558/1.374, allocations: 1.328 MB / 1.339 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03328/1.407, allocations: 19.64 MB / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/1.422, allocations: 6.444 MB / 1.364 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02088/1.443, allocations: 6.588 MB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01721/1.46, allocations: 6.044 MB / 1.377 GB, free: 3.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004787/1.465, allocations: 0.8437 MB / 1.378 GB, free: 3.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/1.477, allocations: 1.631 MB / 1.379 GB, free: 3.074 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.006783/1.483, allocations: 2.201 MB / 1.381 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01974/1.503, allocations: 4.295 MB / 1.386 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02714/1.53, allocations: 12.1 MB / 1.397 GB, free: 4.355 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/1.53, allocations: 0 / 1.397 GB, free: 4.355 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.53, allocations: 7.938 kB / 1.397 GB, free: 4.348 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005747/1.531, allocations: 0 / 1.397 GB, free: 4.348 MB / 1.076 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.02807/1.559, allocations: 7.917 MB / 1.405 GB, free: 12.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.559, allocations: 8.031 kB / 1.405 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/1.564, allocations: 0.8204 MB / 1.406 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/1.581, allocations: 6.344 MB / 1.412 GB, free: 5.109 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004774/1.581, allocations: 415.4 kB / 1.413 GB, free: 4.703 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/1.584, allocations: 0.5467 MB / 1.413 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/1.606, allocations: 8.068 MB / 1.421 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/1.606, allocations: 19.88 kB / 1.421 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/1.607, allocations: 232 kB / 1.421 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/1.608, allocations: 167.9 kB / 1.421 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/1.625, allocations: 6.524 MB / 1.428 GB, free: 4.902 MB / 1.107 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.06442/1.689, allocations: 31.27 MB / 1.458 GB, free: 3.801 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/1.697, allocations: 3.44 MB / 1.462 GB, free: 372 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005251/1.702, allocations: 2.585 MB / 1.464 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.704, allocations: 0.8319 MB / 1.465 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.704, allocations: 72.67 kB / 1.465 GB, free: 12.69 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 4.789e-06/1.704, allocations: 0 / 1.465 GB, free: 12.69 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01519/1.719, allocations: 5.765 MB / 1.471 GB, free: 6.824 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.719, allocations: 77.52 kB / 1.471 GB, free: 6.734 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/1.73, allocations: 5.243 MB / 1.476 GB, free: 1.492 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/1.731, allocations: 73.7 kB / 1.476 GB, free: 1.414 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003156/1.734, allocations: 2.942 MB / 1.479 GB, free: 14.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.736, allocations: 0.98 MB / 1.48 GB, free: 13.46 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/1.737, allocations: 0.7195 MB / 1.48 GB, free: 12.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.738, allocations: 305.1 kB / 1.481 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.74, allocations: 1.678 MB / 1.482 GB, free: 10.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.744, allocations: 2.94 MB / 1.485 GB, free: 7.262 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/1.752, allocations: 4.97 MB / 1.49 GB, free: 1.699 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-05/1.752, allocations: 8 kB / 1.49 GB, free: 1.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01114/1.763, allocations: 5.443 MB / 1.495 GB, free: 12.19 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/1.763, allocations: 24 kB / 1.495 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/1.763, allocations: 40.88 kB / 1.495 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.764, allocations: 423.4 kB / 1.496 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/1.767, allocations: 0.8618 MB / 1.497 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/1.774, allocations: 5.71 MB / 1.502 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/1.779, allocations: 0.5237 MB / 1.503 GB, free: 4.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008119/1.78, allocations: 184 kB / 1.503 GB, free: 4.16 MB / 1.186 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.005323/1.785, allocations: 2.28 MB / 1.505 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.787, allocations: 0.5008 MB / 1.506 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007627/1.795, allocations: 4.168 MB / 1.51 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/1.795, allocations: 28 kB / 1.51 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.795, allocations: 4 kB / 1.51 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00536/1.8, allocations: 3.62 MB / 1.513 GB, free: 9.375 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.822, allocations: 10.26 MB / 1.523 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.822, allocations: 4 kB / 1.523 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.824, allocations: 0.4954 MB / 1.524 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/1.825, allocations: 369.6 kB / 1.524 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/1.825, allocations: 75.95 kB / 1.524 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/1.831, allocations: 5.658 MB / 1.53 GB, free: 8.062 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.831, allocations: 4 kB / 1.53 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.844, allocations: 6.264 MB / 1.536 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004141/1.848, allocations: 1.122 MB / 1.537 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/1.85, allocations: 63.92 kB / 1.537 GB, free: 428 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/1.853, allocations: 179.6 kB / 1.537 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/1.854, allocations: 173.6 kB / 1.537 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/1.854, allocations: 135.9 kB / 1.538 GB, free: 15.94 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.007948/1.862, allocations: 3.831 MB / 1.541 GB, free: 12.12 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/1.862, allocations: 96 / 1.541 GB, free: 12.12 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009667/1.872, allocations: 1.817 MB / 1.543 GB, free: 10.3 MB / 1.232 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.001866/1.874, allocations: 492.4 kB / 1.544 GB, free: 9.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008265/1.882, allocations: 4.125 MB / 1.548 GB, free: 5.656 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.882, allocations: 4 kB / 1.548 GB, free: 5.652 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0034/1.885, allocations: 1.931 MB / 1.549 GB, free: 3.691 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/1.903, allocations: 3.45 MB / 1.553 GB, free: 344 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/1.929, allocations: 12.75 MB / 1.565 GB, free: 3.492 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005762/1.935, allocations: 4.303 MB / 1.569 GB, free: 15.16 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.006964/1.942, allocations: 1.862 MB / 1.571 GB, free: 13.31 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.944, allocations: 415.3 kB / 1.572 GB, free: 12.9 MB / 1.264 GB Notification: Performance of SimCode: time 1.923e-06/1.944, allocations: 0 / 1.572 GB, free: 12.9 MB / 1.264 GB Notification: Performance of Templates: time 0.2145/2.158, allocations: 115.2 MB / 1.684 GB, free: 10.46 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] 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/jenkins/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: 13.386737626977265]