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.001319/0.001319, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001511/0.001511, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.895/2.895, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.002173/0.002173, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9977/0.9998, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04778/1.048, allocations: 45.48 MB / 1.231 GB, free: 1.609 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02325/1.071, allocations: 12.96 MB / 1.244 GB, free: 8.73 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/1.075, allocations: 91.22 kB / 1.244 GB, free: 8.684 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004119/1.079, allocations: 0.8098 MB / 1.245 GB, free: 8.207 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/1.09, allocations: 2.394 MB / 1.247 GB, free: 6.801 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/1.094, allocations: 1.341 MB / 1.248 GB, free: 6.062 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02513/1.119, allocations: 20.36 MB / 1.268 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/1.13, allocations: 6.473 MB / 1.274 GB, free: 6.176 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/1.147, allocations: 6.936 MB / 1.281 GB, free: 2.391 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01477/1.162, allocations: 6.281 MB / 1.287 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003995/1.166, allocations: 0.8471 MB / 1.288 GB, free: 14.08 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0089/1.175, allocations: 1.479 MB / 1.29 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005317/1.18, allocations: 2.208 MB / 1.292 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/1.192, allocations: 3.518 MB / 1.295 GB, free: 6.855 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/1.212, allocations: 12.22 MB / 1.307 GB, free: 10.6 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.212, allocations: 0 / 1.307 GB, free: 10.6 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.994e-06/1.212, allocations: 0 / 1.307 GB, free: 10.6 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004339/1.212, allocations: 0 / 1.307 GB, free: 10.6 MB / 1.154 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.02197/1.234, allocations: 7.849 MB / 1.315 GB, free: 2.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.234, allocations: 12.03 kB / 1.315 GB, free: 2.668 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/1.239, allocations: 0.8867 MB / 1.316 GB, free: 1.777 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/1.255, allocations: 6.39 MB / 1.322 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/1.256, allocations: 411.4 kB / 1.322 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/1.259, allocations: 0.5506 MB / 1.323 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.283, allocations: 9.139 MB / 1.332 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/1.283, allocations: 15.94 kB / 1.332 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/1.285, allocations: 235.9 kB / 1.332 GB, free: 484 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/1.285, allocations: 163.9 kB / 1.332 GB, free: 320 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/1.3, allocations: 6.52 MB / 1.339 GB, free: 9.777 MB / 1.186 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.04769/1.348, allocations: 22.47 MB / 1.36 GB, free: 2.926 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006685/1.355, allocations: 3.431 MB / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.359, allocations: 2.568 MB / 1.366 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000794/1.36, allocations: 154 kB / 1.366 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/1.36, allocations: 72.61 kB / 1.367 GB, free: 12.69 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 6.803e-06/1.36, allocations: 3.938 kB / 1.367 GB, free: 12.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01336/1.374, allocations: 5.56 MB / 1.372 GB, free: 7.062 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/1.374, allocations: 77.52 kB / 1.372 GB, free: 6.973 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/1.387, allocations: 4.555 MB / 1.376 GB, free: 2.395 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/1.388, allocations: 77.64 kB / 1.377 GB, free: 2.312 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.004776/1.393, allocations: 2.93 MB / 1.379 GB, free: 15.36 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002578/1.395, allocations: 0.9839 MB / 1.38 GB, free: 14.36 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/1.398, allocations: 0.7156 MB / 1.381 GB, free: 13.64 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.399, allocations: 304.9 kB / 1.381 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.402, allocations: 1.678 MB / 1.383 GB, free: 11.66 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004658/1.407, allocations: 3.032 MB / 1.386 GB, free: 8.059 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008067/1.415, allocations: 4.962 MB / 1.391 GB, free: 2.504 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-05/1.415, allocations: 12 kB / 1.391 GB, free: 2.492 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0114/1.426, allocations: 5.389 MB / 1.396 GB, free: 13.05 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/1.426, allocations: 27.94 kB / 1.396 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.668e-05/1.426, allocations: 40.91 kB / 1.396 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.428, allocations: 417.3 kB / 1.397 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.431, allocations: 0.858 MB / 1.397 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/1.438, allocations: 5.374 MB / 1.403 GB, free: 6.141 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/1.442, allocations: 477 kB / 1.403 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007974/1.443, allocations: 176 kB / 1.403 GB, free: 5.5 MB / 1.248 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.005449/1.449, allocations: 2.28 MB / 1.405 GB, free: 3.207 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/1.451, allocations: 445.2 kB / 1.406 GB, free: 2.77 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.461, allocations: 4.125 MB / 1.41 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/1.461, allocations: 28 kB / 1.41 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/1.461, allocations: 4 kB / 1.41 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006732/1.468, allocations: 3.62 MB / 1.414 GB, free: 10.82 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/1.491, allocations: 8.896 MB / 1.422 GB, free: 1.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.491, allocations: 4 kB / 1.422 GB, free: 1.766 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.493, allocations: 0.4997 MB / 1.423 GB, free: 1.266 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009785/1.494, allocations: 373.3 kB / 1.423 GB, free: 0.8945 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/1.495, allocations: 79.95 kB / 1.423 GB, free: 0.8164 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/1.501, allocations: 5.306 MB / 1.428 GB, free: 11.31 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.501, allocations: 11.94 kB / 1.428 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.515, allocations: 6.184 MB / 1.434 GB, free: 4.945 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005792/1.521, allocations: 0.975 MB / 1.435 GB, free: 3.969 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002458/1.523, allocations: 71.92 kB / 1.435 GB, free: 3.898 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004131/1.527, allocations: 175.8 kB / 1.436 GB, free: 3.727 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006598/1.528, allocations: 181.5 kB / 1.436 GB, free: 3.547 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006374/1.528, allocations: 127.9 kB / 1.436 GB, free: 3.422 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00699/1.535, allocations: 3.112 MB / 1.439 GB, free: 312 kB / 1.279 GB Notification: Performance of sort global known variables: time 1.71e-07/1.535, allocations: 0 / 1.439 GB, free: 312 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.008102/1.544, allocations: 1.898 MB / 1.441 GB, free: 14.4 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.001538/1.545, allocations: 464.3 kB / 1.441 GB, free: 13.94 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008326/1.553, allocations: 4.13 MB / 1.445 GB, free: 9.77 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.553, allocations: 4 kB / 1.445 GB, free: 9.766 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/1.557, allocations: 1.933 MB / 1.447 GB, free: 7.805 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/1.572, allocations: 2.622 MB / 1.45 GB, free: 5.266 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.598, allocations: 12.52 MB / 1.462 GB, free: 8.648 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007165/1.605, allocations: 3.808 MB / 1.466 GB, free: 4.809 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006645/1.612, allocations: 1.661 MB / 1.467 GB, free: 3.16 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.614, allocations: 380.3 kB / 1.468 GB, free: 2.789 MB / 1.311 GB Notification: Performance of SimCode: time 1.202e-06/1.614, allocations: 0 / 1.468 GB, free: 2.789 MB / 1.311 GB Notification: Performance of Templates: time 0.1793/1.793, allocations: 94.81 MB / 1.56 GB, free: 5.328 MB / 1.404 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 -s ida -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: 12.49136521096807]