Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008327/0.0008327, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000804/0.000804, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8796/0.8796, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.344e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02992/0.02995, allocations: 45.12 MB / 1.026 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.04353, allocations: 12.94 MB / 1.039 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.04551, allocations: 91.25 kB / 1.039 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.04732, allocations: 0.8223 MB / 1.04 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.05189, allocations: 2.455 MB / 1.042 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.05428, allocations: 1.402 MB / 1.044 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.5893/0.6436, allocations: 20.52 MB / 1.064 GB, free: 44.81 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006545/0.6501, allocations: 6.483 MB / 1.07 GB, free: 44.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.6653, allocations: 9.439 MB / 1.079 GB, free: 41.36 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008781/0.6741, allocations: 5.751 MB / 1.085 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.6757, allocations: 0.8442 MB / 1.086 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.6799, allocations: 1.498 MB / 1.087 GB, free: 39.49 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.6813, allocations: 2.264 MB / 1.089 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003787/0.6851, allocations: 3.045 MB / 1.092 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.6988, allocations: 12.33 MB / 1.104 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6989, allocations: 0 / 1.104 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6989, allocations: 0 / 1.104 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003298/0.6992, allocations: 5.5 kB / 1.104 GB, free: 33.25 MB / 0.9948 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.01344/0.7126, allocations: 7.774 MB / 1.112 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7127, allocations: 9.672 kB / 1.112 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.7149, allocations: 0.8795 MB / 1.113 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008438/0.7233, allocations: 6.395 MB / 1.119 GB, free: 26.03 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.7236, allocations: 416.7 kB / 1.119 GB, free: 25.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006458/0.7242, allocations: 0.5453 MB / 1.12 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.7357, allocations: 9.129 MB / 1.129 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-05/0.7358, allocations: 14.84 kB / 1.129 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/0.7362, allocations: 243.6 kB / 1.129 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.7364, allocations: 164.9 kB / 1.129 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008653/0.745, allocations: 6.516 MB / 1.136 GB, free: 18.83 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.0244/0.7694, allocations: 22.45 MB / 1.158 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.7726, allocations: 3.423 MB / 1.161 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.7748, allocations: 2.594 MB / 1.163 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.7752, allocations: 147.9 kB / 1.164 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.7752, allocations: 72.8 kB / 1.164 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=267): time 4.158e-06/0.7753, allocations: 0 / 1.164 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of matching and sorting (n=267): time 0.006478/0.7817, allocations: 5.562 MB / 1.169 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7818, allocations: 79.7 kB / 1.169 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.7863, allocations: 4.549 MB / 1.174 GB, free: 13.69 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.7866, allocations: 77.7 kB / 1.174 GB, free: 13.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.7882, allocations: 2.926 MB / 1.176 GB, free: 10.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009309/0.7892, allocations: 0.9657 MB / 1.177 GB, free: 9.723 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/0.7899, allocations: 0.7078 MB / 1.178 GB, free: 9.008 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.79, allocations: 301.1 kB / 1.178 GB, free: 8.711 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.7917, allocations: 1.674 MB / 1.18 GB, free: 7.035 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.7939, allocations: 3.041 MB / 1.183 GB, free: 3.438 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.7982, allocations: 4.97 MB / 1.188 GB, free: 14.04 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.7982, allocations: 12 kB / 1.188 GB, free: 14.03 MB / 1.026 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005981/0.8042, allocations: 5.381 MB / 1.193 GB, free: 8.844 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.8042, allocations: 24 kB / 1.193 GB, free: 8.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.392e-05/0.8042, allocations: 40 kB / 1.193 GB, free: 8.781 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/0.8049, allocations: 427.4 kB / 1.194 GB, free: 8.363 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.8065, allocations: 0.8548 MB / 1.194 GB, free: 7.562 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.8103, allocations: 5.366 MB / 1.2 GB, free: 2.059 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.813, allocations: 473.2 kB / 1.2 GB, free: 1.594 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.8132, allocations: 180 kB / 1.2 GB, free: 1.418 MB / 1.026 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.004284/0.8175, allocations: 2.286 MB / 1.203 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009625/0.8185, allocations: 449.2 kB / 1.203 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.8232, allocations: 4.118 MB / 1.207 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.8232, allocations: 24 kB / 1.207 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8232, allocations: 4 kB / 1.207 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003465/0.8267, allocations: 3.638 MB / 1.211 GB, free: 6.816 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.8384, allocations: 8.875 MB / 1.219 GB, free: 13.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.8384, allocations: 7.938 kB / 1.219 GB, free: 13.89 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.8395, allocations: 0.5039 MB / 1.22 GB, free: 13.41 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/0.84, allocations: 375.8 kB / 1.22 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.8401, allocations: 75.97 kB / 1.22 GB, free: 12.97 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.8439, allocations: 5.317 MB / 1.225 GB, free: 7.5 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8439, allocations: 12.06 kB / 1.225 GB, free: 7.488 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/0.8506, allocations: 6.167 MB / 1.231 GB, free: 1.164 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.8527, allocations: 0.9879 MB / 1.232 GB, free: 180 kB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.8531, allocations: 59.98 kB / 1.232 GB, free: 120 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.8545, allocations: 175.7 kB / 1.233 GB, free: 15.95 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.8547, allocations: 188.2 kB / 1.233 GB, free: 15.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.8549, allocations: 127.9 kB / 1.233 GB, free: 15.65 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.003584/0.8585, allocations: 3.112 MB / 1.236 GB, free: 12.53 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.3e-07/0.8585, allocations: 0 / 1.236 GB, free: 12.53 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004941/0.8634, allocations: 1.898 MB / 1.238 GB, free: 10.63 MB / 1.073 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.0008583/0.8643, allocations: 481.7 kB / 1.238 GB, free: 10.2 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.004734/0.869, allocations: 4.126 MB / 1.242 GB, free: 6.184 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.869, allocations: 0 / 1.242 GB, free: 6.184 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.8709, allocations: 1.935 MB / 1.244 GB, free: 4.273 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008301/0.8792, allocations: 2.619 MB / 1.247 GB, free: 1.738 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.8945, allocations: 12.25 MB / 1.259 GB, free: 5.414 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.8972, allocations: 3.737 MB / 1.262 GB, free: 1.645 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/0.8988, allocations: 403.6 kB / 1.263 GB, free: 1.254 MB / 1.089 GB Notification: Performance of SimCode: time 1.443e-06/0.8988, allocations: 0 / 1.263 GB, free: 1.254 MB / 1.089 GB Notification: Performance of Templates: time 0.1544/1.053, allocations: 166.4 MB / 1.425 GB, free: 11.36 MB / 1.26 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.53110444638878]