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.001691/0.001691, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002106/0.002106, allocations: 210.2 kB / 22.99 MB, free: 4.957 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.518/1.518, 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 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.332/3.332, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002091/0.002091, allocations: 68.98 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4133, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05795/0.4713, allocations: 45.49 MB / 1.371 GB, free: 3.391 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.4934, allocations: 12.95 MB / 1.384 GB, free: 6.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.4968, allocations: 87.31 kB / 1.384 GB, free: 6.324 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.4998, allocations: 0.8109 MB / 1.385 GB, free: 5.508 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00812/0.5079, allocations: 2.398 MB / 1.387 GB, free: 3.098 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.5122, allocations: 1.363 MB / 1.389 GB, free: 1.742 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02525/0.5375, allocations: 20.15 MB / 1.408 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.5494, allocations: 6.474 MB / 1.415 GB, free: 6.938 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01753/0.5669, allocations: 6.926 MB / 1.421 GB, free: 32 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.5795, allocations: 5.965 MB / 1.427 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003311/0.5828, allocations: 0.8477 MB / 1.428 GB, free: 9.195 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007462/0.5903, allocations: 1.491 MB / 1.43 GB, free: 7.703 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.595, allocations: 2.2 MB / 1.432 GB, free: 5.496 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01278/0.6078, allocations: 3.521 MB / 1.435 GB, free: 1.961 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.6276, allocations: 12.22 MB / 1.447 GB, free: 5.699 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6276, allocations: 0 / 1.447 GB, free: 5.699 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.083e-06/0.6276, allocations: 0 / 1.447 GB, free: 5.699 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004422/0.6281, allocations: 0 / 1.447 GB, free: 5.699 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.02416/0.6522, allocations: 7.86 MB / 1.455 GB, free: 13.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.6523, allocations: 12.03 kB / 1.455 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/0.6582, allocations: 0.879 MB / 1.456 GB, free: 12.88 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/0.6766, allocations: 6.382 MB / 1.462 GB, free: 6.414 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000722/0.6773, allocations: 416.4 kB / 1.462 GB, free: 6.008 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/0.681, allocations: 0.5429 MB / 1.463 GB, free: 5.465 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03099/0.712, allocations: 9.139 MB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004556/0.7124, allocations: 23.77 kB / 1.472 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002481/0.7149, allocations: 236 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002884/0.7152, allocations: 163.9 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.7338, allocations: 6.512 MB / 1.478 GB, free: 4.891 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.0552/0.789, allocations: 22.49 MB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007409/0.7964, allocations: 3.433 MB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/0.8013, allocations: 2.571 MB / 1.506 GB, free: 8.004 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/0.8021, allocations: 146 kB / 1.506 GB, free: 7.859 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.8023, allocations: 68.67 kB / 1.507 GB, free: 7.781 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 7.774e-06/0.8023, allocations: 0 / 1.507 GB, free: 7.781 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01369/0.8159, allocations: 5.568 MB / 1.512 GB, free: 2.152 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.816, allocations: 77.52 kB / 1.512 GB, free: 2.062 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/0.8265, allocations: 4.551 MB / 1.516 GB, free: 13.49 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0008482/0.8273, allocations: 77.64 kB / 1.517 GB, free: 13.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/0.8305, allocations: 2.942 MB / 1.519 GB, free: 10.44 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001952/0.8324, allocations: 0.9839 MB / 1.52 GB, free: 9.449 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/0.8347, allocations: 0.7156 MB / 1.521 GB, free: 8.727 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8348, allocations: 301.1 kB / 1.521 GB, free: 8.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.8382, allocations: 1.678 MB / 1.523 GB, free: 6.75 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/0.843, allocations: 3.036 MB / 1.526 GB, free: 3.137 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009202/0.8522, allocations: 4.962 MB / 1.531 GB, free: 13.58 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.04e-05/0.8522, allocations: 12 kB / 1.531 GB, free: 13.57 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01246/0.8647, allocations: 5.385 MB / 1.536 GB, free: 8.133 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.617e-05/0.8648, allocations: 24 kB / 1.536 GB, free: 8.109 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-05/0.8649, allocations: 36 kB / 1.536 GB, free: 8.074 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.8661, allocations: 427.1 kB / 1.537 GB, free: 7.652 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/0.8695, allocations: 0.8619 MB / 1.537 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.8766, allocations: 5.356 MB / 1.543 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.8816, allocations: 472.9 kB / 1.543 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007919/0.8824, allocations: 176 kB / 1.543 GB, free: 0.5977 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.006601/0.889, allocations: 2.296 MB / 1.545 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002859/0.8919, allocations: 445.2 kB / 1.546 GB, free: 13.85 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.9027, allocations: 4.115 MB / 1.55 GB, free: 9.676 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.861e-05/0.9027, allocations: 28 kB / 1.55 GB, free: 9.648 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/0.9027, allocations: 7.938 kB / 1.55 GB, free: 9.641 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006969/0.9097, allocations: 3.62 MB / 1.553 GB, free: 5.906 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/0.9367, allocations: 8.889 MB / 1.562 GB, free: 12.87 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/0.9367, allocations: 7.938 kB / 1.562 GB, free: 12.86 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/0.9394, allocations: 0.4993 MB / 1.563 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.9405, allocations: 375.3 kB / 1.563 GB, free: 11.99 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/0.941, allocations: 79.91 kB / 1.563 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/0.9481, allocations: 5.306 MB / 1.568 GB, free: 6.41 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.9481, allocations: 8 kB / 1.568 GB, free: 6.402 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.9618, allocations: 6.187 MB / 1.574 GB, free: 44 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004376/0.9662, allocations: 0.9905 MB / 1.575 GB, free: 15.05 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/0.9679, allocations: 59.98 kB / 1.575 GB, free: 14.99 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/0.9719, allocations: 175.9 kB / 1.576 GB, free: 14.82 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/0.9725, allocations: 185.5 kB / 1.576 GB, free: 14.64 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005927/0.9731, allocations: 127.9 kB / 1.576 GB, free: 14.51 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007724/0.9808, allocations: 3.112 MB / 1.579 GB, free: 11.39 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.9808, allocations: 0 / 1.579 GB, free: 11.39 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009211/0.99, allocations: 1.898 MB / 1.581 GB, free: 9.492 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.002113/0.9921, allocations: 470 kB / 1.581 GB, free: 9.023 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009285/1.001, allocations: 4.132 MB / 1.585 GB, free: 4.852 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.001, allocations: 5.938 kB / 1.585 GB, free: 4.848 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/1.006, allocations: 1.922 MB / 1.587 GB, free: 2.895 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/1.022, allocations: 2.618 MB / 1.59 GB, free: 364 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/1.052, allocations: 12.54 MB / 1.602 GB, free: 3.719 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.9348/1.986, allocations: 3.807 MB / 1.606 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007379/1.994, allocations: 1.664 MB / 1.607 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.996, allocations: 381 kB / 1.608 GB, free: 252.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.052e-06/1.996, allocations: 1.062 kB / 1.608 GB, free: 252.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1612/2.157, allocations: 105.4 MB / 1.711 GB, free: 180.5 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 -s cvode -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: 13.9354630690068]