Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001944/0.001944, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002034/0.002034, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.97/2.97, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.84e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06891/0.06894, allocations: 50.91 MB / 0.8361 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.09307, allocations: 14.36 MB / 0.8501 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.09589, allocations: 91.25 kB / 0.8502 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.09872, allocations: 0.8107 MB / 0.851 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007628/0.1063, allocations: 2.47 MB / 0.8534 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.1103, allocations: 1.395 MB / 0.8548 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02625/0.1366, allocations: 20.56 MB / 0.8748 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.1479, allocations: 6.738 MB / 0.8814 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02163/0.1696, allocations: 9.346 MB / 0.8906 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01316/0.1827, allocations: 5.981 MB / 0.8964 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.004052/0.1868, allocations: 0.8438 MB / 0.8972 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009916/0.1967, allocations: 1.502 MB / 0.8987 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.004288/0.201, allocations: 2.282 MB / 0.9009 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0085/0.2095, allocations: 3.049 MB / 0.9039 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.2289, allocations: 12.35 MB / 0.916 GB, free: 6.711 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2289, allocations: 4 kB / 0.916 GB, free: 6.707 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2289, allocations: 0 / 0.916 GB, free: 6.707 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004582/0.2294, allocations: 0 / 0.916 GB, free: 6.707 MB / 0.823 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.02436/0.2537, allocations: 8.836 MB / 0.9246 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2538, allocations: 8.031 kB / 0.9246 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/0.2597, allocations: 1.401 MB / 0.926 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.2757, allocations: 5.874 MB / 0.9317 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.2762, allocations: 415.4 kB / 0.9321 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.2783, allocations: 0.5589 MB / 0.9326 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.2975, allocations: 9.119 MB / 0.9415 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.2976, allocations: 11.94 kB / 0.9416 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007463/0.2984, allocations: 240 kB / 0.9418 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.2986, allocations: 167.9 kB / 0.9419 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.3116, allocations: 5.47 MB / 0.9473 GB, free: 5.875 MB / 0.8542 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.06795/0.3795, allocations: 43.06 MB / 0.9893 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/0.3858, allocations: 3.043 MB / 0.9923 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/0.39, allocations: 2.267 MB / 0.9945 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/0.3907, allocations: 162 kB / 0.9947 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/0.3908, allocations: 67.5 kB / 0.9947 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=267): time 5.15e-06/0.3908, allocations: 0 / 0.9947 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=267): time 0.01176/0.4025, allocations: 4.715 MB / 0.9993 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4026, allocations: 81.52 kB / 0.9994 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/0.4126, allocations: 5.491 MB / 1.005 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007026/0.4133, allocations: 81.7 kB / 1.005 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003855/0.4172, allocations: 3.377 MB / 1.008 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/0.419, allocations: 1.086 MB / 1.009 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.4206, allocations: 0.9343 MB / 1.01 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.4208, allocations: 476.8 kB / 1.011 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.4234, allocations: 1.28 MB / 1.012 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004506/0.4279, allocations: 3.337 MB / 1.015 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/0.4363, allocations: 4.994 MB / 1.02 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.546e-05/0.4364, allocations: 12 kB / 1.02 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01132/0.4477, allocations: 4.809 MB / 1.025 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.629e-05/0.4477, allocations: 24 kB / 1.025 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.241e-05/0.4478, allocations: 40 kB / 1.025 GB, free: 2.195 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.4504, allocations: 0.5219 MB / 1.025 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/0.4542, allocations: 0.8619 MB / 1.026 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4607/0.9149, allocations: 6.589 MB / 1.033 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/0.9194, allocations: 467.2 kB / 1.033 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005471/0.92, allocations: 175.4 kB / 1.033 GB, free: 224 MB / 0.9323 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.004033/0.924, allocations: 2.022 MB / 1.035 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/0.9256, allocations: 0.5229 MB / 1.036 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006962/0.9326, allocations: 3.394 MB / 1.039 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.9326, allocations: 30.98 kB / 1.039 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.9326, allocations: 5.094 kB / 1.039 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004889/0.9375, allocations: 2.969 MB / 1.042 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/0.9607, allocations: 10.06 MB / 1.052 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.9608, allocations: 3.469 kB / 1.052 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.9629, allocations: 0.5105 MB / 1.052 GB, free: 219.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.965, allocations: 482.2 kB / 1.053 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000331/0.9654, allocations: 73.56 kB / 1.053 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.9705, allocations: 6.537 MB / 1.059 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9705, allocations: 4.562 kB / 1.059 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/0.98, allocations: 5.36 MB / 1.064 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/0.9837, allocations: 0.8849 MB / 1.065 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/0.9849, allocations: 63.02 kB / 1.065 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/0.9884, allocations: 170.2 kB / 1.065 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.9888, allocations: 186.7 kB / 1.066 GB, free: 211 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003716/0.9892, allocations: 128.1 kB / 1.066 GB, free: 211 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005875/0.995, allocations: 3.188 MB / 1.069 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.995, allocations: 0 / 1.069 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007417/1.002, allocations: 1.892 MB / 1.071 GB, free: 208.9 MB / 0.9323 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.001404/1.004, allocations: 482.5 kB / 1.071 GB, free: 208.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006909/1.011, allocations: 3.946 MB / 1.075 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.011, allocations: 7.938 kB / 1.075 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.014, allocations: 1.966 MB / 1.077 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01533/1.029, allocations: 2.718 MB / 1.08 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.053, allocations: 11.37 MB / 1.091 GB, free: 190.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/1.058, allocations: 3.43 MB / 1.094 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005493/1.064, allocations: 1.37 MB / 1.095 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.065, allocations: 380.3 kB / 1.096 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.674e-06/1.065, allocations: 0 / 1.096 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.1274/1.193, allocations: 93.4 MB / 1.187 GB, free: 93.5 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.861697754939087]