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.001887/0.001887, allocations: 95.06 kB / 19.44 MB, free: 464 kB / 13.93 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.002633/0.002633, allocations: 165.2 kB / 22.75 MB, free: 1.793 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 1.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0.875 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.115e-05, allocations: 4.531 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06572/0.06575, allocations: 45.13 MB / 0.9217 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.08992, allocations: 13.01 MB / 0.9344 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.09297, allocations: 91.31 kB / 0.9344 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.09594, allocations: 0.8145 MB / 0.9352 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.008004/0.1039, allocations: 2.467 MB / 0.9377 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.1085, allocations: 1.384 MB / 0.939 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02867/0.1372, allocations: 20.64 MB / 0.9592 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.1501, allocations: 6.389 MB / 0.9654 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02325/0.1733, allocations: 9.571 MB / 0.9747 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.1853, allocations: 5.763 MB / 0.9804 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.002816/0.1881, allocations: 0.8438 MB / 0.9812 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006625/0.1948, allocations: 1.51 MB / 0.9827 GB, free: 10.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004159/0.1989, allocations: 2.254 MB / 0.9849 GB, free: 8.348 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.008758/0.2077, allocations: 3.068 MB / 0.9879 GB, free: 5.273 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02745/0.2351, allocations: 12.37 MB / 0.9999 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.2351, allocations: 0 / 0.9999 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2351, allocations: 0 / 0.9999 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006938/0.2358, allocations: 0 / 0.9999 GB, free: 8.867 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.02628/0.2621, allocations: 7.771 MB / 1.008 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2622, allocations: 12.03 kB / 1.008 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006408/0.2686, allocations: 1.393 MB / 1.009 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.2856, allocations: 6.758 MB / 1.016 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/0.2862, allocations: 411.4 kB / 1.016 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/0.2888, allocations: 0.5627 MB / 1.016 GB, free: 7.812 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.315, allocations: 9.131 MB / 1.025 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002026/0.3152, allocations: 23.81 kB / 1.025 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.3164, allocations: 240 kB / 1.026 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002497/0.3166, allocations: 167.9 kB / 1.026 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.3348, allocations: 6.504 MB / 1.032 GB, free: 7.25 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.05057/0.3853, allocations: 22.77 MB / 1.054 GB, free: 100 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5197/0.905, allocations: 3.418 MB / 1.058 GB, free: 202 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.9083, allocations: 2.581 MB / 1.06 GB, free: 201.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/0.909, allocations: 162.2 kB / 1.06 GB, free: 201.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.909, allocations: 74.86 kB / 1.06 GB, free: 201.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=267): time 5.33e-06/0.909, allocations: 1.469 kB / 1.06 GB, free: 201.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=267): time 0.01013/0.9192, allocations: 5.648 MB / 1.066 GB, free: 199.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.9192, allocations: 78.98 kB / 1.066 GB, free: 199.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/0.9262, allocations: 4.543 MB / 1.07 GB, free: 197.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007608/0.9269, allocations: 80.98 kB / 1.071 GB, free: 197.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.929, allocations: 2.916 MB / 1.073 GB, free: 196.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/0.9304, allocations: 0.9766 MB / 1.074 GB, free: 195.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.9314, allocations: 0.7082 MB / 1.075 GB, free: 195.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.9315, allocations: 307.6 kB / 1.075 GB, free: 195 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/0.9338, allocations: 1.674 MB / 1.077 GB, free: 194.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.9368, allocations: 3.031 MB / 1.08 GB, free: 192.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.9436, allocations: 4.97 MB / 1.085 GB, free: 189.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/0.9437, allocations: 11.94 kB / 1.085 GB, free: 189.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01197/0.9557, allocations: 5.553 MB / 1.09 GB, free: 187 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.9557, allocations: 25.69 kB / 1.09 GB, free: 187 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.314e-05/0.9558, allocations: 39.97 kB / 1.09 GB, free: 187 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/0.9583, allocations: 0.5242 MB / 1.091 GB, free: 186.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.9619, allocations: 0.856 MB / 1.092 GB, free: 186.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.9673, allocations: 5.399 MB / 1.097 GB, free: 182.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/0.9726, allocations: 476.5 kB / 1.097 GB, free: 182.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009546/0.9736, allocations: 187.4 kB / 1.098 GB, free: 182.7 MB / 1.01 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.00563/0.9792, allocations: 2.279 MB / 1.1 GB, free: 181.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/0.9819, allocations: 0.5241 MB / 1.1 GB, free: 181.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008703/0.9906, allocations: 4.116 MB / 1.104 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/0.9907, allocations: 30.44 kB / 1.104 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.9907, allocations: 4.312 kB / 1.104 GB, free: 179.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005602/0.9963, allocations: 3.618 MB / 1.108 GB, free: 178.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/1.019, allocations: 8.909 MB / 1.117 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/1.019, allocations: 3.875 kB / 1.117 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.021, allocations: 0.5035 MB / 1.117 GB, free: 174.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.024, allocations: 481.1 kB / 1.118 GB, free: 174.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004402/1.024, allocations: 78.44 kB / 1.118 GB, free: 174.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/1.03, allocations: 5.338 MB / 1.123 GB, free: 171 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.03, allocations: 9.672 kB / 1.123 GB, free: 171 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.042, allocations: 6.272 MB / 1.129 GB, free: 168.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003242/1.045, allocations: 1.007 MB / 1.13 GB, free: 167.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.046, allocations: 63.48 kB / 1.13 GB, free: 167.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.049, allocations: 177.8 kB / 1.13 GB, free: 167.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.05, allocations: 186.9 kB / 1.13 GB, free: 167.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/1.05, allocations: 127 kB / 1.13 GB, free: 167.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006019/1.056, allocations: 3.111 MB / 1.133 GB, free: 166.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.056, allocations: 0 / 1.133 GB, free: 166.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007201/1.064, allocations: 1.925 MB / 1.135 GB, free: 166.3 MB / 1.01 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.001451/1.065, allocations: 481.4 kB / 1.136 GB, free: 166.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007201/1.072, allocations: 4.124 MB / 1.14 GB, free: 163.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.072, allocations: 4 kB / 1.14 GB, free: 163.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.075, allocations: 1.938 MB / 1.142 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01404/1.089, allocations: 2.73 MB / 1.144 GB, free: 159.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/1.111, allocations: 12.33 MB / 1.156 GB, free: 148.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004445/1.116, allocations: 3.804 MB / 1.16 GB, free: 144.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004682/1.12, allocations: 1.661 MB / 1.162 GB, free: 143 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.121, allocations: 376.3 kB / 1.162 GB, free: 142.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/1.121, allocations: 0 / 1.162 GB, free: 142.6 MB / 1.01 GB Notification: Performance of Templates: time 0.1168/1.238, allocations: 94.75 MB / 1.255 GB, free: 49.54 MB / 1.01 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.226449473993853]