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.001681/0.001681, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002061/0.002061, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.522/1.522, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 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.002013/0.002013, allocations: 63.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06649/1.089, allocations: 50.13 MB / 1.323 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02478/1.114, allocations: 13.95 MB / 1.337 GB, free: 4.238 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003995/1.118, allocations: 71.62 kB / 1.337 GB, free: 4.168 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003592/1.122, allocations: 0.8382 MB / 1.338 GB, free: 3.324 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/1.132, allocations: 2.355 MB / 1.34 GB, free: 0.957 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/1.137, allocations: 1.326 MB / 1.341 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02436/1.161, allocations: 19.63 MB / 1.36 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/1.172, allocations: 6.45 MB / 1.367 GB, free: 5.387 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01641/1.189, allocations: 6.599 MB / 1.373 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/1.202, allocations: 6.035 MB / 1.379 GB, free: 8.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003491/1.205, allocations: 0.8516 MB / 1.38 GB, free: 7.902 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00796/1.213, allocations: 1.623 MB / 1.381 GB, free: 6.277 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004794/1.218, allocations: 2.2 MB / 1.383 GB, free: 4.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/1.229, allocations: 4.291 MB / 1.388 GB, free: 15.76 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/1.25, allocations: 12.1 MB / 1.399 GB, free: 3.625 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.25, allocations: 0 / 1.399 GB, free: 3.625 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.084e-06/1.25, allocations: 0 / 1.399 GB, free: 3.625 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004552/1.25, allocations: 0 / 1.399 GB, free: 3.625 MB / 1.092 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.02617/1.276, allocations: 7.913 MB / 1.407 GB, free: 11.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.276, allocations: 8.031 kB / 1.407 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/1.282, allocations: 0.8282 MB / 1.408 GB, free: 10.79 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.299, allocations: 6.342 MB / 1.414 GB, free: 4.383 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005693/1.3, allocations: 419.4 kB / 1.415 GB, free: 3.973 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/1.302, allocations: 0.539 MB / 1.415 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02492/1.327, allocations: 8.076 MB / 1.423 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004658/1.328, allocations: 15.89 kB / 1.423 GB, free: 11.1 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.33, allocations: 232 kB / 1.423 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/1.33, allocations: 167.9 kB / 1.423 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.348, allocations: 6.532 MB / 1.43 GB, free: 4.168 MB / 1.123 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.06151/1.41, allocations: 31.27 MB / 1.46 GB, free: 3.07 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007444/1.417, allocations: 3.436 MB / 1.464 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00502/1.422, allocations: 2.589 MB / 1.466 GB, free: 13.03 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/1.424, allocations: 0.8241 MB / 1.467 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/1.424, allocations: 68.67 kB / 1.467 GB, free: 11.96 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 4.138e-06/1.424, allocations: 7.938 kB / 1.467 GB, free: 11.95 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01391/1.438, allocations: 5.769 MB / 1.473 GB, free: 6.086 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/1.438, allocations: 81.52 kB / 1.473 GB, free: 5.992 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.45, allocations: 5.243 MB / 1.478 GB, free: 0.75 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/1.451, allocations: 77.7 kB / 1.478 GB, free: 0.668 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003517/1.454, allocations: 2.926 MB / 1.481 GB, free: 13.72 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001873/1.456, allocations: 0.9917 MB / 1.482 GB, free: 12.72 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/1.458, allocations: 0.7156 MB / 1.483 GB, free: 12 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.458, allocations: 309 kB / 1.483 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/1.462, allocations: 1.67 MB / 1.484 GB, free: 10.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/1.466, allocations: 2.94 MB / 1.487 GB, free: 6.531 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008136/1.474, allocations: 4.97 MB / 1.492 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.338e-05/1.474, allocations: 16 kB / 1.492 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01256/1.487, allocations: 5.436 MB / 1.498 GB, free: 11.46 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/1.487, allocations: 24.25 kB / 1.498 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-05/1.487, allocations: 43.94 kB / 1.498 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/1.488, allocations: 427.4 kB / 1.498 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/1.492, allocations: 0.858 MB / 1.499 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/1.499, allocations: 5.693 MB / 1.504 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.504, allocations: 0.5277 MB / 1.505 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008402/1.505, allocations: 180 kB / 1.505 GB, free: 3.445 MB / 1.201 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.005604/1.51, allocations: 2.288 MB / 1.507 GB, free: 1.145 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003115/1.513, allocations: 0.5008 MB / 1.508 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.524, allocations: 4.172 MB / 1.512 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/1.524, allocations: 24 kB / 1.512 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.524, allocations: 4 kB / 1.512 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006656/1.531, allocations: 3.628 MB / 1.515 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.557, allocations: 10.26 MB / 1.525 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.557, allocations: 4 kB / 1.525 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.559, allocations: 0.5038 MB / 1.526 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.56, allocations: 367.8 kB / 1.526 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004717/1.561, allocations: 79.95 kB / 1.526 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007618/1.568, allocations: 5.648 MB / 1.532 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.568, allocations: 11.88 kB / 1.532 GB, free: 7.32 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.582, allocations: 6.257 MB / 1.538 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005596/1.588, allocations: 1.126 MB / 1.539 GB, free: 15.74 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/1.59, allocations: 59.98 kB / 1.539 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004494/1.595, allocations: 175.8 kB / 1.539 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/1.595, allocations: 173.6 kB / 1.54 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006217/1.596, allocations: 131.9 kB / 1.54 GB, free: 15.21 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.009698/1.606, allocations: 3.839 MB / 1.543 GB, free: 11.39 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.21e-07/1.606, allocations: 7.938 kB / 1.543 GB, free: 11.38 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.009029/1.615, allocations: 1.809 MB / 1.545 GB, free: 9.566 MB / 1.248 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.002107/1.617, allocations: 0.489 MB / 1.546 GB, free: 9.078 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009681/1.626, allocations: 4.118 MB / 1.55 GB, free: 4.922 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.626, allocations: 7.938 kB / 1.55 GB, free: 4.914 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.631, allocations: 1.93 MB / 1.552 GB, free: 2.957 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02113/1.652, allocations: 3.452 MB / 1.555 GB, free: 15.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/1.683, allocations: 12.74 MB / 1.567 GB, free: 2.762 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007896/1.69, allocations: 4.299 MB / 1.572 GB, free: 14.43 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007786/1.698, allocations: 1.859 MB / 1.573 GB, free: 12.59 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.7, allocations: 415.2 kB / 1.574 GB, free: 12.18 MB / 1.279 GB Notification: Performance of SimCode: time 2.164e-06/1.7, allocations: 0 / 1.574 GB, free: 12.18 MB / 1.279 GB Notification: Performance of Templates: time 1.092/2.793, allocations: 115.2 MB / 1.686 GB, free: 239.3 MB / 1.295 GB " [Timeout remaining time 297] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.970963193103671]