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.001481/0.001481, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001529/0.001529, allocations: 223.3 kB / 23 MB, free: 4.914 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.384/3.384, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [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.002217/0.002217, allocations: 62.69 kB / 1.187 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4213, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06544/0.4867, allocations: 45.48 MB / 1.409 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.511, allocations: 12.96 MB / 1.422 GB, free: 2.938 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.5143, allocations: 95.25 kB / 1.422 GB, free: 2.844 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.5175, allocations: 0.811 MB / 1.423 GB, free: 2.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.5255, allocations: 2.383 MB / 1.425 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.5295, allocations: 1.355 MB / 1.426 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02467/0.5542, allocations: 20.36 MB / 1.446 GB, free: 9.871 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.5651, allocations: 6.466 MB / 1.452 GB, free: 3.277 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/0.5817, allocations: 6.935 MB / 1.459 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/0.5947, allocations: 6.277 MB / 1.465 GB, free: 6.059 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.598, allocations: 0.8477 MB / 1.466 GB, free: 5.211 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007065/0.6051, allocations: 1.487 MB / 1.468 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004637/0.6097, allocations: 2.2 MB / 1.47 GB, free: 1.52 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/0.6201, allocations: 3.526 MB / 1.473 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/0.6433, allocations: 12.22 MB / 1.485 GB, free: 1.723 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.6433, allocations: 0 / 1.485 GB, free: 1.723 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6433, allocations: 0 / 1.485 GB, free: 1.723 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005521/0.6439, allocations: 0 / 1.485 GB, free: 1.723 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.02587/0.6698, allocations: 7.851 MB / 1.493 GB, free: 9.805 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6698, allocations: 12.03 kB / 1.493 GB, free: 9.793 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.6754, allocations: 0.8867 MB / 1.494 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/0.693, allocations: 6.379 MB / 1.5 GB, free: 2.445 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005668/0.6936, allocations: 419.4 kB / 1.5 GB, free: 2.035 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/0.6961, allocations: 0.5506 MB / 1.501 GB, free: 1.484 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/0.724, allocations: 9.139 MB / 1.51 GB, free: 7.848 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/0.7243, allocations: 15.88 kB / 1.51 GB, free: 7.832 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002389/0.7267, allocations: 236 kB / 1.51 GB, free: 7.602 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/0.727, allocations: 164 kB / 1.51 GB, free: 7.441 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.7435, allocations: 6.516 MB / 1.517 GB, free: 0.9141 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.04792/0.7914, allocations: 22.46 MB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006451/0.7979, allocations: 3.436 MB / 1.542 GB, free: 6.637 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/0.8024, allocations: 2.591 MB / 1.544 GB, free: 4.039 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.8031, allocations: 142 kB / 1.544 GB, free: 3.898 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.8032, allocations: 72.61 kB / 1.545 GB, free: 3.816 MB / 1.232 GB Notification: Performance of pre-optimization done (n=267): time 6.652e-06/0.8032, allocations: 0 / 1.545 GB, free: 3.816 MB / 1.232 GB Notification: Performance of matching and sorting (n=267): time 0.01233/0.8156, allocations: 5.556 MB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.8156, allocations: 89.52 kB / 1.55 GB, free: 14.1 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009756/0.8254, allocations: 4.547 MB / 1.554 GB, free: 9.527 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005063/0.8259, allocations: 77.7 kB / 1.555 GB, free: 9.445 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003267/0.8292, allocations: 2.938 MB / 1.557 GB, free: 6.484 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/0.8307, allocations: 0.9761 MB / 1.558 GB, free: 5.5 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.8324, allocations: 0.7156 MB / 1.559 GB, free: 4.777 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8326, allocations: 305.1 kB / 1.559 GB, free: 4.477 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.8357, allocations: 1.678 MB / 1.561 GB, free: 2.797 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.8402, allocations: 3.032 MB / 1.564 GB, free: 15.19 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007461/0.8476, allocations: 4.962 MB / 1.569 GB, free: 9.633 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.735e-05/0.8477, allocations: 16 kB / 1.569 GB, free: 9.617 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01032/0.858, allocations: 5.385 MB / 1.574 GB, free: 4.18 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.8581, allocations: 25 kB / 1.574 GB, free: 4.156 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/0.8581, allocations: 40 kB / 1.574 GB, free: 4.117 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.8592, allocations: 417.3 kB / 1.575 GB, free: 3.703 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.8623, allocations: 0.8619 MB / 1.575 GB, free: 2.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.8689, allocations: 5.367 MB / 1.581 GB, free: 13.28 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/0.873, allocations: 477 kB / 1.581 GB, free: 12.81 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/0.8734, allocations: 176 kB / 1.581 GB, free: 12.64 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.004484/0.8779, allocations: 2.285 MB / 1.583 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/0.8796, allocations: 445.2 kB / 1.584 GB, free: 9.902 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007906/0.8875, allocations: 4.122 MB / 1.588 GB, free: 5.723 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.8875, allocations: 24 kB / 1.588 GB, free: 5.699 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.8875, allocations: 4 kB / 1.588 GB, free: 5.695 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005725/0.8932, allocations: 3.62 MB / 1.591 GB, free: 1.961 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/0.9139, allocations: 8.896 MB / 1.6 GB, free: 8.906 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.9139, allocations: 4 kB / 1.6 GB, free: 8.902 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/0.916, allocations: 0.5075 MB / 1.601 GB, free: 8.395 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/0.917, allocations: 367.7 kB / 1.601 GB, free: 8.031 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.9172, allocations: 87.89 kB / 1.601 GB, free: 7.945 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.9236, allocations: 5.297 MB / 1.606 GB, free: 2.449 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.9236, allocations: 8.125 kB / 1.606 GB, free: 2.441 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8132/1.737, allocations: 6.181 MB / 1.612 GB, free: 225 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00401/1.741, allocations: 0.9815 MB / 1.613 GB, free: 224.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/1.742, allocations: 60.66 kB / 1.613 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/1.746, allocations: 173.4 kB / 1.614 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/1.746, allocations: 183.8 kB / 1.614 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006061/1.747, allocations: 134.4 kB / 1.614 GB, free: 224.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008622/1.756, allocations: 3.111 MB / 1.617 GB, free: 223.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.756, allocations: 0 / 1.617 GB, free: 223.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008017/1.764, allocations: 1.898 MB / 1.619 GB, free: 223.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.00173/1.765, allocations: 473.3 kB / 1.619 GB, free: 223.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009285/1.775, allocations: 4.132 MB / 1.623 GB, free: 221.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/1.775, allocations: 3.875 kB / 1.623 GB, free: 221.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003735/1.778, allocations: 1.929 MB / 1.625 GB, free: 221 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01621/1.795, allocations: 2.618 MB / 1.628 GB, free: 220.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/1.824, allocations: 12.57 MB / 1.64 GB, free: 214.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007875/1.832, allocations: 3.738 MB / 1.644 GB, free: 213.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/1.834, allocations: 408 kB / 1.644 GB, free: 213.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.834, allocations: 0 / 1.644 GB, free: 213.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1782/2.012, allocations: 166.1 MB / 1.806 GB, free: 60.75 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 800] 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: 26.83180198725313]