Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00192/0.00192, 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.002052/0.002052, allocations: 221.2 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.4892 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_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.002052/0.002052, allocations: 66.33 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05203/0.4715, allocations: 45.49 MB / 1.371 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.4932, allocations: 12.95 MB / 1.383 GB, free: 7.262 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.4962, allocations: 95.25 kB / 1.383 GB, free: 7.168 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.4991, allocations: 0.807 MB / 1.384 GB, free: 6.355 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.5073, allocations: 2.391 MB / 1.387 GB, free: 3.953 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.5113, allocations: 1.354 MB / 1.388 GB, free: 2.609 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02586/0.5371, allocations: 20.36 MB / 1.408 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.5486, allocations: 6.466 MB / 1.414 GB, free: 7.602 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01632/0.5649, allocations: 6.929 MB / 1.421 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01279/0.5777, allocations: 6.285 MB / 1.427 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003077/0.5808, allocations: 0.8438 MB / 1.428 GB, free: 9.539 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0068/0.5876, allocations: 1.479 MB / 1.429 GB, free: 8.062 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003812/0.5914, allocations: 2.204 MB / 1.431 GB, free: 5.852 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00931/0.6007, allocations: 3.521 MB / 1.435 GB, free: 2.316 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.6186, allocations: 12.22 MB / 1.447 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.6186, allocations: 0 / 1.447 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6186, allocations: 0 / 1.447 GB, free: 6.055 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004108/0.619, allocations: 4 kB / 1.447 GB, free: 6.051 MB / 1.139 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.02186/0.6409, allocations: 7.857 MB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6409, allocations: 8.031 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.6463, allocations: 0.8828 MB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.6612, allocations: 6.392 MB / 1.462 GB, free: 6.758 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/0.6616, allocations: 411.4 kB / 1.462 GB, free: 6.355 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.6637, allocations: 0.5428 MB / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.683, allocations: 9.142 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.6832, allocations: 19.83 kB / 1.471 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.6845, allocations: 239.9 kB / 1.472 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.6847, allocations: 163.9 kB / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.6986, allocations: 6.516 MB / 1.478 GB, free: 5.23 MB / 1.17 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.04687/0.7455, allocations: 22.48 MB / 1.5 GB, free: 14.37 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005874/0.7514, allocations: 3.425 MB / 1.503 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/0.7555, allocations: 2.571 MB / 1.506 GB, free: 8.355 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.7561, allocations: 150 kB / 1.506 GB, free: 8.207 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.42e-05/0.7562, allocations: 72.61 kB / 1.506 GB, free: 8.125 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 5.22e-06/0.7562, allocations: 0 / 1.506 GB, free: 8.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01121/0.7674, allocations: 5.564 MB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.7675, allocations: 81.5 kB / 1.512 GB, free: 2.406 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009739/0.7772, allocations: 4.551 MB / 1.516 GB, free: 13.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007874/0.778, allocations: 77.7 kB / 1.516 GB, free: 13.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003161/0.7812, allocations: 2.922 MB / 1.519 GB, free: 10.8 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/0.7831, allocations: 0.9955 MB / 1.52 GB, free: 9.801 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002143/0.7852, allocations: 0.7157 MB / 1.521 GB, free: 9.078 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7854, allocations: 305.1 kB / 1.521 GB, free: 8.777 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/0.7886, allocations: 1.674 MB / 1.523 GB, free: 7.102 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004446/0.7931, allocations: 3.032 MB / 1.526 GB, free: 3.492 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007835/0.8009, allocations: 4.97 MB / 1.531 GB, free: 13.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.436e-05/0.801, allocations: 12 kB / 1.531 GB, free: 13.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01131/0.8123, allocations: 5.386 MB / 1.536 GB, free: 8.477 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.8123, allocations: 20 kB / 1.536 GB, free: 8.457 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-05/0.8124, allocations: 40 kB / 1.536 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.8135, allocations: 419.1 kB / 1.536 GB, free: 8.004 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.8167, allocations: 0.858 MB / 1.537 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/0.8233, allocations: 5.367 MB / 1.542 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/0.8279, allocations: 480.9 kB / 1.543 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/0.8285, allocations: 180 kB / 1.543 GB, free: 0.9336 MB / 1.232 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.004963/0.8335, allocations: 2.281 MB / 1.545 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/0.8354, allocations: 449.1 kB / 1.546 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/0.8439, allocations: 4.115 MB / 1.55 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.8439, allocations: 28 kB / 1.55 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.844, allocations: 4 kB / 1.55 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005929/0.8499, allocations: 3.616 MB / 1.553 GB, free: 6.266 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.8707, allocations: 8.896 MB / 1.562 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.8708, allocations: 4 kB / 1.562 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/0.8729, allocations: 0.4998 MB / 1.562 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009362/0.8739, allocations: 375.2 kB / 1.563 GB, free: 12.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/0.8741, allocations: 75.95 kB / 1.563 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.8806, allocations: 5.303 MB / 1.568 GB, free: 6.77 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.8806, allocations: 8.125 kB / 1.568 GB, free: 6.762 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.8915, allocations: 6.191 MB / 1.574 GB, free: 408 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/0.895, allocations: 0.9905 MB / 1.575 GB, free: 15.41 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/0.8965, allocations: 67.92 kB / 1.575 GB, free: 15.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/0.8998, allocations: 163.9 kB / 1.575 GB, free: 15.18 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/0.9002, allocations: 185.5 kB / 1.575 GB, free: 15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000405/0.9006, allocations: 131.9 kB / 1.576 GB, free: 14.87 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006722/0.9073, allocations: 3.112 MB / 1.579 GB, free: 11.75 MB / 1.279 GB Notification: Performance of sort global known variables: time 6e-08/0.9073, allocations: 0 / 1.579 GB, free: 11.75 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006911/0.9142, allocations: 1.902 MB / 1.58 GB, free: 9.844 MB / 1.279 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.001369/0.9156, allocations: 463.6 kB / 1.581 GB, free: 9.379 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007689/0.9232, allocations: 4.133 MB / 1.585 GB, free: 5.207 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.9233, allocations: 0 / 1.585 GB, free: 5.207 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003301/0.9266, allocations: 1.929 MB / 1.587 GB, free: 3.246 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/0.9398, allocations: 2.621 MB / 1.589 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/0.9651, allocations: 12.6 MB / 1.602 GB, free: 4.004 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00468/0.9698, allocations: 3.737 MB / 1.605 GB, free: 244 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7506/1.72, allocations: 402.4 kB / 1.606 GB, free: 253.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.463e-06/1.72, allocations: 1.188 kB / 1.606 GB, free: 253.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1926/1.913, allocations: 166.1 MB / 1.768 GB, free: 122.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.49066581390798]