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.001813/0.001813, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.002593/0.002593, allocations: 166.5 kB / 22.46 MB, free: 5.363 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.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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 2.997/2.997, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 4.288e-06/4.288e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.527e-05/5.956e-05, allocations: 5.797 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.07809/0.07815, allocations: 45.11 MB / 1.044 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.1006, allocations: 12.9 MB / 1.057 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.1039, allocations: 91.25 kB / 1.057 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.1067, allocations: 0.8069 MB / 1.058 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.1144, allocations: 2.451 MB / 1.06 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004053/0.1184, allocations: 1.412 MB / 1.061 GB, free: 8.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02571/0.1441, allocations: 20.47 MB / 1.081 GB, free: 3.793 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.1566, allocations: 6.152 MB / 1.087 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0291/0.1857, allocations: 9.42 MB / 1.097 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/0.2043, allocations: 5.747 MB / 1.102 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003973/0.2082, allocations: 0.8438 MB / 1.103 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008275/0.2165, allocations: 1.502 MB / 1.105 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005411/0.2219, allocations: 2.258 MB / 1.107 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.2329, allocations: 3.056 MB / 1.11 GB, free: 6.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02282/0.2557, allocations: 12.33 MB / 1.122 GB, free: 10.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2557, allocations: 0 / 1.122 GB, free: 10.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2557, allocations: 0 / 1.122 GB, free: 10.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005259/0.2563, allocations: 0 / 1.122 GB, free: 10.35 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.02595/0.2822, allocations: 7.771 MB / 1.129 GB, free: 2.508 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.2823, allocations: 8.031 kB / 1.129 GB, free: 2.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.2882, allocations: 0.8828 MB / 1.13 GB, free: 1.613 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6842/0.9724, allocations: 6.366 MB / 1.136 GB, free: 160.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.9727, allocations: 413.9 kB / 1.137 GB, free: 159.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/0.9751, allocations: 0.5436 MB / 1.137 GB, free: 159.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.9929, allocations: 9.131 MB / 1.146 GB, free: 155.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.9931, allocations: 21.33 kB / 1.146 GB, free: 155.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006884/0.9938, allocations: 234.8 kB / 1.147 GB, free: 155 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.9939, allocations: 166.5 kB / 1.147 GB, free: 155 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/1.007, allocations: 6.517 MB / 1.153 GB, free: 152.8 MB / 1.076 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.04966/1.057, allocations: 22.45 MB / 1.175 GB, free: 140.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/1.064, allocations: 3.426 MB / 1.178 GB, free: 139.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005637/1.07, allocations: 2.582 MB / 1.181 GB, free: 138.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/1.07, allocations: 149.9 kB / 1.181 GB, free: 138.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/1.071, allocations: 72.95 kB / 1.181 GB, free: 138.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=267): time 5.17e-06/1.071, allocations: 1.062 kB / 1.181 GB, free: 138.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=267): time 0.0145/1.085, allocations: 5.561 MB / 1.186 GB, free: 136.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.085, allocations: 82.55 kB / 1.187 GB, free: 136.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.096, allocations: 4.542 MB / 1.191 GB, free: 134.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0008352/1.097, allocations: 77.5 kB / 1.191 GB, free: 134.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/1.099, allocations: 2.917 MB / 1.194 GB, free: 132.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/1.101, allocations: 0.9727 MB / 1.195 GB, free: 131.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/1.104, allocations: 0.7134 MB / 1.196 GB, free: 131.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.104, allocations: 304.9 kB / 1.196 GB, free: 131.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/1.108, allocations: 1.672 MB / 1.197 GB, free: 130.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/1.112, allocations: 3.033 MB / 1.2 GB, free: 128.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007827/1.12, allocations: 4.971 MB / 1.205 GB, free: 125.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-05/1.12, allocations: 11.53 kB / 1.205 GB, free: 125.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01298/1.133, allocations: 5.385 MB / 1.211 GB, free: 123.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/1.133, allocations: 26.5 kB / 1.211 GB, free: 123.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/1.133, allocations: 40 kB / 1.211 GB, free: 123.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.135, allocations: 422.6 kB / 1.211 GB, free: 123.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.138, allocations: 0.8573 MB / 1.212 GB, free: 123.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/1.145, allocations: 5.366 MB / 1.217 GB, free: 119.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.15, allocations: 467.4 kB / 1.218 GB, free: 118.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008068/1.151, allocations: 182.4 kB / 1.218 GB, free: 118.9 MB / 1.076 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.006021/1.157, allocations: 2.287 MB / 1.22 GB, free: 117.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/1.159, allocations: 450.9 kB / 1.22 GB, free: 117.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009107/1.168, allocations: 4.115 MB / 1.224 GB, free: 116.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.168, allocations: 30.05 kB / 1.224 GB, free: 116.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.281e-05/1.168, allocations: 3.781 kB / 1.224 GB, free: 116.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005401/1.174, allocations: 3.62 MB / 1.228 GB, free: 113.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.193, allocations: 8.887 MB / 1.237 GB, free: 105.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.193, allocations: 8.062 kB / 1.237 GB, free: 105.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.196, allocations: 0.4954 MB / 1.237 GB, free: 104.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/1.196, allocations: 377.2 kB / 1.238 GB, free: 104.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000313/1.197, allocations: 79.95 kB / 1.238 GB, free: 104.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/1.201, allocations: 5.303 MB / 1.243 GB, free: 98.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.201, allocations: 15.53 kB / 1.243 GB, free: 98.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00953/1.211, allocations: 6.18 MB / 1.249 GB, free: 92.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003259/1.214, allocations: 0.9866 MB / 1.25 GB, free: 91.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001524/1.216, allocations: 59.98 kB / 1.25 GB, free: 91.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003842/1.22, allocations: 172.9 kB / 1.25 GB, free: 91.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.22, allocations: 185.5 kB / 1.25 GB, free: 91.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003958/1.22, allocations: 127.9 kB / 1.25 GB, free: 90.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006015/1.226, allocations: 3.111 MB / 1.253 GB, free: 87.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.226, allocations: 0 / 1.253 GB, free: 87.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.007903/1.234, allocations: 1.898 MB / 1.255 GB, free: 85.95 MB / 1.076 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.00157/1.236, allocations: 477.2 kB / 1.256 GB, free: 85.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007064/1.243, allocations: 4.119 MB / 1.26 GB, free: 81.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.243, allocations: 7.781 kB / 1.26 GB, free: 81.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002739/1.246, allocations: 1.932 MB / 1.262 GB, free: 79.37 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01455/1.26, allocations: 2.599 MB / 1.264 GB, free: 76.87 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/1.284, allocations: 12.21 MB / 1.276 GB, free: 64.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/1.29, allocations: 3.804 MB / 1.28 GB, free: 60.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.006065/1.296, allocations: 1.66 MB / 1.281 GB, free: 59.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/1.298, allocations: 380.4 kB / 1.282 GB, free: 58.71 MB / 1.076 GB Notification: Performance of SimCode: time 1.934e-06/1.298, allocations: 0 / 1.282 GB, free: 58.71 MB / 1.076 GB Notification: Performance of Templates: time 0.1473/1.445, allocations: 93.67 MB / 1.373 GB, free: 14.52 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins/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: 12.474002465605736]