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.0008142/0.0008142, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008265/0.0008265, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8869/0.8869, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.332e-06/1.332e-06, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.285e-05, allocations: 4.672 kB / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.5685/0.5685, allocations: 45.11 MB / 1.045 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.5832, allocations: 12.91 MB / 1.058 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.5864, allocations: 87.62 kB / 1.058 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.5884, allocations: 0.8139 MB / 1.058 GB, free: 6.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.595, allocations: 2.447 MB / 1.061 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5981, allocations: 1.394 MB / 1.062 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02047/0.6186, allocations: 20.49 MB / 1.082 GB, free: 9.645 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.6287, allocations: 6.141 MB / 1.088 GB, free: 6.625 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02488/0.6536, allocations: 9.431 MB / 1.097 GB, free: 2.445 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.6671, allocations: 5.756 MB / 1.103 GB, free: 228 kB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003054/0.6701, allocations: 0.844 MB / 1.104 GB, free: 228 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006544/0.6767, allocations: 1.493 MB / 1.105 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.6794, allocations: 2.257 MB / 1.107 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.007517/0.6869, allocations: 3.047 MB / 1.11 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.6996, allocations: 12.33 MB / 1.123 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.6996, allocations: 0 / 1.123 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6996, allocations: 4 kB / 1.123 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004485/0.7001, allocations: 3.938 kB / 1.123 GB, free: 4.328 MB / 0.9636 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.01386/0.7139, allocations: 7.769 MB / 1.13 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.714, allocations: 12.75 kB / 1.13 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.7162, allocations: 0.875 MB / 1.131 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008124/0.7243, allocations: 6.375 MB / 1.137 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.7245, allocations: 419.4 kB / 1.138 GB, free: 6.656 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005245/0.725, allocations: 0.5471 MB / 1.138 GB, free: 6.109 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009309/0.7343, allocations: 9.128 MB / 1.147 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-05/0.7344, allocations: 19.81 kB / 1.147 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003638/0.7348, allocations: 236 kB / 1.147 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.7349, allocations: 171.8 kB / 1.147 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007233/0.7421, allocations: 6.516 MB / 1.154 GB, free: 5.539 MB / 0.9948 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.02365/0.7658, allocations: 22.46 MB / 1.176 GB, free: 14.7 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.7693, allocations: 3.43 MB / 1.179 GB, free: 11.27 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.7716, allocations: 2.579 MB / 1.182 GB, free: 8.688 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000368/0.772, allocations: 150 kB / 1.182 GB, free: 8.539 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.772, allocations: 68.67 kB / 1.182 GB, free: 8.461 MB / 1.026 GB Notification: Performance of pre-optimization done (n=267): time 5.13e-06/0.772, allocations: 3.984 kB / 1.182 GB, free: 8.457 MB / 1.026 GB Notification: Performance of matching and sorting (n=267): time 0.006953/0.779, allocations: 5.564 MB / 1.187 GB, free: 2.832 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.779, allocations: 81.52 kB / 1.187 GB, free: 2.738 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/0.7837, allocations: 4.543 MB / 1.192 GB, free: 14.17 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.784, allocations: 81.7 kB / 1.192 GB, free: 14.08 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.7855, allocations: 2.914 MB / 1.195 GB, free: 11.15 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008289/0.7863, allocations: 0.9723 MB / 1.196 GB, free: 10.17 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006727/0.787, allocations: 0.7078 MB / 1.196 GB, free: 9.453 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.7871, allocations: 301.1 kB / 1.197 GB, free: 9.156 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.7888, allocations: 1.674 MB / 1.198 GB, free: 7.48 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.791, allocations: 3.036 MB / 1.201 GB, free: 3.863 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/0.7952, allocations: 4.97 MB / 1.206 GB, free: 14.3 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.7952, allocations: 8 kB / 1.206 GB, free: 14.29 MB / 1.057 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006056/0.8013, allocations: 5.382 MB / 1.211 GB, free: 8.855 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.8013, allocations: 26.03 kB / 1.211 GB, free: 8.832 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.8014, allocations: 40.09 kB / 1.211 GB, free: 8.793 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.802, allocations: 421.3 kB / 1.212 GB, free: 8.375 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.8035, allocations: 0.8541 MB / 1.213 GB, free: 7.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.8074, allocations: 5.373 MB / 1.218 GB, free: 1.949 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.81, allocations: 473 kB / 1.218 GB, free: 1.484 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.8102, allocations: 179.9 kB / 1.219 GB, free: 1.309 MB / 1.057 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.003416/0.8136, allocations: 2.288 MB / 1.221 GB, free: 15.01 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/0.8144, allocations: 445.2 kB / 1.221 GB, free: 14.57 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.8187, allocations: 4.118 MB / 1.225 GB, free: 10.39 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.8188, allocations: 28 kB / 1.225 GB, free: 10.37 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8188, allocations: 4 kB / 1.225 GB, free: 10.36 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003138/0.8219, allocations: 3.624 MB / 1.229 GB, free: 6.625 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.8328, allocations: 8.892 MB / 1.237 GB, free: 13.59 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.8328, allocations: 4 kB / 1.237 GB, free: 13.58 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.834, allocations: 0.4998 MB / 1.238 GB, free: 13.08 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.8346, allocations: 375.2 kB / 1.238 GB, free: 12.71 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.8347, allocations: 79.89 kB / 1.238 GB, free: 12.63 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.8389, allocations: 5.289 MB / 1.244 GB, free: 7.141 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8389, allocations: 12.06 kB / 1.244 GB, free: 7.129 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/0.8461, allocations: 6.172 MB / 1.25 GB, free: 0.7812 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/0.8481, allocations: 0.9866 MB / 1.251 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.8485, allocations: 63.98 kB / 1.251 GB, free: 15.73 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8497, allocations: 171.8 kB / 1.251 GB, free: 15.56 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.8499, allocations: 185.5 kB / 1.251 GB, free: 15.38 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.8501, allocations: 127.9 kB / 1.251 GB, free: 15.25 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.003334/0.8534, allocations: 3.108 MB / 1.254 GB, free: 12.14 MB / 1.104 GB Notification: Performance of sort global known variables: time 8e-08/0.8534, allocations: 0 / 1.254 GB, free: 12.14 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003988/0.8574, allocations: 1.902 MB / 1.256 GB, free: 10.23 MB / 1.104 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.0007189/0.8582, allocations: 483.2 kB / 1.256 GB, free: 9.762 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.004464/0.8626, allocations: 4.13 MB / 1.26 GB, free: 5.59 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8626, allocations: 4.125 kB / 1.26 GB, free: 5.586 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.8643, allocations: 1.922 MB / 1.262 GB, free: 3.633 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005204/0.8695, allocations: 2.596 MB / 1.265 GB, free: 1.117 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.8827, allocations: 12.26 MB / 1.277 GB, free: 4.762 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.8852, allocations: 3.744 MB / 1.28 GB, free: 0.9844 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/0.8861, allocations: 404.3 kB / 1.281 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of SimCode: time 1.353e-06/0.8861, allocations: 4 kB / 1.281 GB, free: 0.5859 MB / 1.12 GB Notification: Performance of Templates: time 0.1343/1.02, allocations: 166.2 MB / 1.443 GB, free: 10.6 MB / 1.292 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: 21.640692773275077]