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.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.001306/0.001306, allocations: 112.1 kB / 17.08 MB, free: 5.785 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.001384/0.001384, allocations: 198.1 kB / 20.03 MB, free: 2.906 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.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001975/0.001975, allocations: 71.88 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9643/0.9663, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05167/1.018, allocations: 49.37 MB / 1.311 GB, free: 4.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.021/1.039, allocations: 13.83 MB / 1.324 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/1.042, allocations: 67.56 kB / 1.324 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/1.045, allocations: 0.8099 MB / 1.325 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008541/1.054, allocations: 2.245 MB / 1.327 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/1.058, allocations: 1.31 MB / 1.329 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02929/1.088, allocations: 19.64 MB / 1.348 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/1.102, allocations: 9.911 MB / 1.357 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0171/1.12, allocations: 6.72 MB / 1.364 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/1.133, allocations: 5.697 MB / 1.37 GB, free: 4.133 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0038/1.137, allocations: 0.8439 MB / 1.37 GB, free: 4.133 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008849/1.146, allocations: 1.608 MB / 1.372 GB, free: 3.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005309/1.151, allocations: 2.111 MB / 1.374 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01368/1.165, allocations: 4.311 MB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02093/1.186, allocations: 12.14 MB / 1.39 GB, free: 5.863 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.186, allocations: 0 / 1.39 GB, free: 5.863 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/1.186, allocations: 0 / 1.39 GB, free: 5.863 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004039/1.186, allocations: 0 / 1.39 GB, free: 5.863 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.02206/1.208, allocations: 7.913 MB / 1.398 GB, free: 13.86 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.208, allocations: 12.03 kB / 1.398 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/1.212, allocations: 0.8243 MB / 1.399 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/1.225, allocations: 6.346 MB / 1.405 GB, free: 6.617 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/1.226, allocations: 415.4 kB / 1.405 GB, free: 6.211 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/1.228, allocations: 0.5467 MB / 1.406 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/1.246, allocations: 8.072 MB / 1.414 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/1.246, allocations: 15.88 kB / 1.414 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007441/1.247, allocations: 236 kB / 1.414 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/1.247, allocations: 164 kB / 1.414 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/1.262, allocations: 6.528 MB / 1.42 GB, free: 6.41 MB / 1.107 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.05525/1.317, allocations: 31.32 MB / 1.451 GB, free: 5.258 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007141/1.324, allocations: 3.635 MB / 1.455 GB, free: 1.621 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/1.329, allocations: 2.8 MB / 1.457 GB, free: 14.81 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.33, allocations: 0.8318 MB / 1.458 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.33, allocations: 72.67 kB / 1.458 GB, free: 13.73 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 7.334e-06/1.33, allocations: 0 / 1.458 GB, free: 13.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01366/1.344, allocations: 5.789 MB / 1.464 GB, free: 7.844 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/1.344, allocations: 77.52 kB / 1.464 GB, free: 7.754 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.356, allocations: 5.239 MB / 1.469 GB, free: 2.516 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006098/1.356, allocations: 81.7 kB / 1.469 GB, free: 2.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.36, allocations: 2.934 MB / 1.472 GB, free: 15.47 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.361, allocations: 0.98 MB / 1.473 GB, free: 14.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/1.363, allocations: 0.7156 MB / 1.474 GB, free: 13.76 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.364, allocations: 309 kB / 1.474 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/1.367, allocations: 1.678 MB / 1.476 GB, free: 11.78 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/1.371, allocations: 2.94 MB / 1.478 GB, free: 8.289 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007869/1.379, allocations: 4.962 MB / 1.483 GB, free: 2.734 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/1.379, allocations: 16 kB / 1.483 GB, free: 2.719 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01126/1.39, allocations: 5.452 MB / 1.489 GB, free: 13.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/1.39, allocations: 24 kB / 1.489 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.256e-05/1.39, allocations: 36 kB / 1.489 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.391, allocations: 429.4 kB / 1.489 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/1.395, allocations: 0.8579 MB / 1.49 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/1.401, allocations: 5.7 MB / 1.496 GB, free: 5.902 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/1.406, allocations: 0.5238 MB / 1.496 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006266/1.407, allocations: 184 kB / 1.496 GB, free: 5.195 MB / 1.186 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.004759/1.411, allocations: 2.29 MB / 1.498 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.413, allocations: 0.5047 MB / 1.499 GB, free: 2.391 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/1.422, allocations: 4.18 MB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.422, allocations: 31.94 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.422, allocations: 4 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005883/1.428, allocations: 3.632 MB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.45, allocations: 10.28 MB / 1.517 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.45, allocations: 4 kB / 1.517 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.452, allocations: 0.4996 MB / 1.517 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000915/1.453, allocations: 365.4 kB / 1.517 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.453, allocations: 84.14 kB / 1.518 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006274/1.459, allocations: 5.656 MB / 1.523 GB, free: 9.031 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.459, allocations: 7.938 kB / 1.523 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.47, allocations: 6.272 MB / 1.529 GB, free: 2.582 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003362/1.474, allocations: 1.118 MB / 1.53 GB, free: 1.441 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.475, allocations: 67.92 kB / 1.53 GB, free: 1.375 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/1.479, allocations: 175.8 kB / 1.531 GB, free: 1.203 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.48, allocations: 177.6 kB / 1.531 GB, free: 1.027 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004003/1.48, allocations: 131.9 kB / 1.531 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.008008/1.488, allocations: 3.835 MB / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.41e-07/1.488, allocations: 0 / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006927/1.495, allocations: 1.821 MB / 1.536 GB, free: 11.25 MB / 1.232 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.001508/1.496, allocations: 0.4886 MB / 1.537 GB, free: 10.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00758/1.504, allocations: 4.284 MB / 1.541 GB, free: 6.445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.504, allocations: 4 kB / 1.541 GB, free: 6.441 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.507, allocations: 2.037 MB / 1.543 GB, free: 4.379 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01755/1.525, allocations: 3.445 MB / 1.546 GB, free: 1.023 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/1.553, allocations: 12.71 MB / 1.559 GB, free: 4.207 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/1.56, allocations: 4.232 MB / 1.563 GB, free: 15.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.562, allocations: 451.2 kB / 1.563 GB, free: 15.5 MB / 1.264 GB Notification: Performance of SimCode: time 3.206e-06/1.562, allocations: 0 / 1.563 GB, free: 15.5 MB / 1.264 GB Notification: Performance of Templates: time 0.257/1.819, allocations: 174.3 MB / 1.734 GB, free: 1.434 MB / 1.42 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 -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_2/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: 28.87201183498837]