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.001814/0.001814, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002145/0.002145, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.93 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.923e-06/1.923e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.242e-05, allocations: 2.812 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0661/0.06613, allocations: 45.07 MB / 0.8304 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02422/0.09035, allocations: 13.04 MB / 0.8431 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.09332, allocations: 91.25 kB / 0.8432 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.09639, allocations: 0.8146 MB / 0.844 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.008602/0.105, allocations: 2.467 MB / 0.8464 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.1093, allocations: 1.388 MB / 0.8478 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02963/0.1389, allocations: 20.56 MB / 0.8678 GB, free: 9.168 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.1518, allocations: 6.726 MB / 0.8744 GB, free: 2.328 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0244/0.1762, allocations: 9.316 MB / 0.8835 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.1884, allocations: 5.805 MB / 0.8892 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.1915, allocations: 0.8477 MB / 0.89 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/0.1984, allocations: 1.49 MB / 0.8915 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004446/0.2028, allocations: 2.262 MB / 0.8937 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.008796/0.2116, allocations: 3.033 MB / 0.8966 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02007/0.2317, allocations: 12.3 MB / 0.9086 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2317, allocations: 0 / 0.9086 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2317, allocations: 0 / 0.9086 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004021/0.2321, allocations: 4 kB / 0.9086 GB, free: 15.32 MB / 0.8698 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.02052/0.2526, allocations: 7.779 MB / 0.9162 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2527, allocations: 12.02 kB / 0.9162 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/0.2584, allocations: 1.393 MB / 0.9176 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.2734, allocations: 6.731 MB / 0.9242 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/0.2739, allocations: 423.4 kB / 0.9246 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001909/0.2758, allocations: 0.5628 MB / 0.9251 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.2961, allocations: 9.131 MB / 0.934 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.2963, allocations: 15.83 kB / 0.9341 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/0.2977, allocations: 236 kB / 0.9343 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.2979, allocations: 171.9 kB / 0.9345 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.313, allocations: 6.508 MB / 0.9408 GB, free: 13.71 MB / 0.9011 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.04729/0.3603, allocations: 22.69 MB / 0.963 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.3669, allocations: 3.437 MB / 0.9663 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/0.3716, allocations: 2.587 MB / 0.9688 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/0.3724, allocations: 170 kB / 0.969 GB, free: 444 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.3725, allocations: 72.45 kB / 0.9691 GB, free: 360 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 4.509e-06/0.3725, allocations: 0 / 0.9691 GB, free: 360 kB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.01341/0.3859, allocations: 5.65 MB / 0.9746 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.386, allocations: 81.52 kB / 0.9747 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/0.3963, allocations: 4.555 MB / 0.9791 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007113/0.397, allocations: 81.69 kB / 0.9792 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003528/0.4006, allocations: 2.918 MB / 0.982 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/0.4024, allocations: 0.9683 MB / 0.983 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.4046, allocations: 0.7039 MB / 0.9837 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4047, allocations: 301.1 kB / 0.984 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.4083, allocations: 1.678 MB / 0.9856 GB, free: 15.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005813/0.4141, allocations: 3.04 MB / 0.9886 GB, free: 11.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.4254, allocations: 4.959 MB / 0.9934 GB, free: 6.109 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.4255, allocations: 12 kB / 0.9934 GB, free: 6.098 MB / 0.948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01504/0.4405, allocations: 5.561 MB / 0.9989 GB, free: 496 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.4406, allocations: 27.94 kB / 0.9989 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.554e-05/0.4407, allocations: 40.88 kB / 0.9989 GB, free: 428 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.4433, allocations: 0.5191 MB / 0.9994 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/0.447, allocations: 0.8619 MB / 1 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.4545, allocations: 5.396 MB / 1.006 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/0.4591, allocations: 465 kB / 1.006 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/0.4598, allocations: 180 kB / 1.006 GB, free: 8.805 MB / 0.9636 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.005621/0.4654, allocations: 2.292 MB / 1.008 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002667/0.4681, allocations: 0.5206 MB / 1.009 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.4787, allocations: 4.117 MB / 1.013 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-05/0.4787, allocations: 24 kB / 1.013 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.254e-05/0.4787, allocations: 7.938 kB / 1.013 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006702/0.4854, allocations: 3.624 MB / 1.016 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/0.5138, allocations: 8.881 MB / 1.025 GB, free: 5.004 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.5138, allocations: 4 kB / 1.025 GB, free: 5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/0.5162, allocations: 0.4993 MB / 1.026 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.5185, allocations: 483.6 kB / 1.026 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/0.5189, allocations: 83.89 kB / 1.026 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007032/0.5259, allocations: 5.344 MB / 1.031 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.5259, allocations: 7.938 kB / 1.031 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.5399, allocations: 6.262 MB / 1.038 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004573/0.5444, allocations: 0.9984 MB / 1.039 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/0.5464, allocations: 59.98 kB / 1.039 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/0.5501, allocations: 167.8 kB / 1.039 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/0.5506, allocations: 185.5 kB / 1.039 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004846/0.5511, allocations: 127.9 kB / 1.039 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008405/0.5595, allocations: 3.112 MB / 1.042 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5595, allocations: 0 / 1.042 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009318/0.5688, allocations: 1.894 MB / 1.044 GB, free: 1.402 MB / 0.9948 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.001909/0.5707, allocations: 482 kB / 1.044 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.4725/1.043, allocations: 4.128 MB / 1.048 GB, free: 280.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/1.043, allocations: 2.75 kB / 1.048 GB, free: 280.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/1.046, allocations: 1.925 MB / 1.05 GB, free: 280.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01385/1.06, allocations: 2.724 MB / 1.053 GB, free: 279.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.082, allocations: 12.34 MB / 1.065 GB, free: 274.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/1.086, allocations: 3.802 MB / 1.069 GB, free: 273.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006441/1.093, allocations: 1.66 MB / 1.07 GB, free: 273 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/1.095, allocations: 381.1 kB / 1.071 GB, free: 273 MB / 0.9948 GB Notification: Performance of SimCode: time 1.723e-06/1.095, allocations: 2.969 kB / 1.071 GB, free: 273 MB / 0.9948 GB Notification: Performance of Templates: time 0.1343/1.229, allocations: 94.22 MB / 1.163 GB, free: 203.5 MB / 0.9948 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] 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.741032863035798]