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.001024/0.001024, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009715/0.0009715, allocations: 173 kB / 23.49 MB, free: 1.059 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.9273/0.9273, allocations: 177.1 MB / 203.8 MB, free: 5.613 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 2.107/2.107, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+..T|cooTan.vol.[0-9,]+..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.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.713e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05096/0.05098, allocations: 51.13 MB / 0.9281 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.06635, allocations: 14.37 MB / 0.9421 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.06812, allocations: 95.25 kB / 0.9422 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.06969, allocations: 0.8146 MB / 0.943 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.07353, allocations: 2.447 MB / 0.9454 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.07558, allocations: 1.399 MB / 0.9468 GB, free: 176 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.0883, allocations: 20.64 MB / 0.9669 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006352/0.09465, allocations: 6.401 MB / 0.9732 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.1058, allocations: 9.594 MB / 0.9826 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.1118, allocations: 5.942 MB / 0.9884 GB, free: 5.496 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0008938/0.1127, allocations: 0.8438 MB / 0.9892 GB, free: 4.652 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.1152, allocations: 1.506 MB / 0.9907 GB, free: 3.145 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.1167, allocations: 2.281 MB / 0.9929 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.1197, allocations: 3.084 MB / 0.9959 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.007007/0.1267, allocations: 7.58 MB / 1.003 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1268, allocations: 4 kB / 1.003 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1268, allocations: 0 / 1.003 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.81e-05/0.1268, allocations: 0 / 1.003 GB, free: 6.16 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.008153/0.135, allocations: 8.281 MB / 1.011 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.135, allocations: 8.031 kB / 1.011 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.1372, allocations: 1.393 MB / 1.013 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005945/0.1431, allocations: 5.76 MB / 1.018 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.1433, allocations: 411.4 kB / 1.019 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/0.1438, allocations: 0.5589 MB / 1.019 GB, free: 5.598 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006121/0.15, allocations: 5.892 MB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.172e-05/0.15, allocations: 15.88 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.1504, allocations: 240 kB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.1505, allocations: 163.9 kB / 1.025 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.1543, allocations: 2.087 MB / 1.028 GB, free: 12.62 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.01938/0.1737, allocations: 23.32 MB / 1.05 GB, free: 4.828 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.1759, allocations: 1.683 MB / 1.052 GB, free: 3.156 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.1775, allocations: 1.374 MB / 1.053 GB, free: 1.773 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.1779, allocations: 154 kB / 1.053 GB, free: 1.621 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.178, allocations: 75.5 kB / 1.053 GB, free: 1.535 MB / 1.01 GB Notification: Performance of pre-optimization done (n=267): time 5.76e-06/0.178, allocations: 4 kB / 1.053 GB, free: 1.531 MB / 1.01 GB Notification: Performance of matching and sorting (n=267): time 0.4367/0.6147, allocations: 2.875 MB / 1.056 GB, free: 204.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.6147, allocations: 80.77 kB / 1.056 GB, free: 204.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.6186, allocations: 3.794 MB / 1.06 GB, free: 203.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.6187, allocations: 79.05 kB / 1.06 GB, free: 203.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.62, allocations: 3.159 MB / 1.063 GB, free: 202.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/0.6206, allocations: 1.036 MB / 1.064 GB, free: 202.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.6212, allocations: 0.7865 MB / 1.065 GB, free: 201.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.6212, allocations: 481.7 kB / 1.065 GB, free: 201.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.622, allocations: 0.5089 MB / 1.066 GB, free: 201.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6233, allocations: 2.452 MB / 1.068 GB, free: 198.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.6257, allocations: 3.171 MB / 1.071 GB, free: 196.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.6257, allocations: 11.88 kB / 1.071 GB, free: 196.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003727/0.6295, allocations: 3.157 MB / 1.075 GB, free: 194.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.6295, allocations: 23.52 kB / 1.075 GB, free: 194.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.6295, allocations: 40 kB / 1.075 GB, free: 194.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.6306, allocations: 398.5 kB / 1.075 GB, free: 194.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.6321, allocations: 0.865 MB / 1.076 GB, free: 194.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.6347, allocations: 5.273 MB / 1.081 GB, free: 190.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.6365, allocations: 488.2 kB / 1.081 GB, free: 190.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.6367, allocations: 179.4 kB / 1.082 GB, free: 190.1 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.001142/0.6378, allocations: 408.3 kB / 1.082 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/0.6384, allocations: 0.5291 MB / 1.083 GB, free: 189.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.6411, allocations: 2.142 MB / 1.085 GB, free: 188.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.6411, allocations: 26.25 kB / 1.085 GB, free: 188.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.6411, allocations: 8.156 kB / 1.085 GB, free: 188.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/0.6432, allocations: 1.718 MB / 1.086 GB, free: 188 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008926/0.6522, allocations: 7.153 MB / 1.093 GB, free: 184.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6522, allocations: 5.031 kB / 1.093 GB, free: 184.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6534, allocations: 0.5052 MB / 1.094 GB, free: 184.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.6544, allocations: 360 kB / 1.094 GB, free: 184.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.6546, allocations: 72.36 kB / 1.094 GB, free: 184.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.6573, allocations: 5.22 MB / 1.099 GB, free: 180.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6573, allocations: 5.344 kB / 1.099 GB, free: 180.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.6616, allocations: 2.995 MB / 1.102 GB, free: 178.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.6629, allocations: 0.8984 MB / 1.103 GB, free: 178.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004206/0.6633, allocations: 62.59 kB / 1.103 GB, free: 178.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6645, allocations: 178.1 kB / 1.103 GB, free: 178.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.6648, allocations: 185.3 kB / 1.104 GB, free: 178.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/0.665, allocations: 130.6 kB / 1.104 GB, free: 178.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002526/0.6675, allocations: 1.981 MB / 1.106 GB, free: 177.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6675, allocations: 0 / 1.106 GB, free: 177.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00405/0.6715, allocations: 1.917 MB / 1.107 GB, free: 177.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.0007305/0.6723, allocations: 488.2 kB / 1.108 GB, free: 177.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003862/0.6761, allocations: 2.452 MB / 1.11 GB, free: 176.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.6761, allocations: 2.75 kB / 1.11 GB, free: 176.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.6776, allocations: 1.345 MB / 1.112 GB, free: 175.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/0.6838, allocations: 2.658 MB / 1.114 GB, free: 174.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.6968, allocations: 9.839 MB / 1.124 GB, free: 169.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.6985, allocations: 1.629 MB / 1.125 GB, free: 169.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00423/0.7027, allocations: 1.362 MB / 1.127 GB, free: 169.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009826/0.7037, allocations: 378.8 kB / 1.127 GB, free: 169.1 MB / 1.01 GB Notification: Performance of SimCode: time 2.073e-06/0.7037, allocations: 0.875 kB / 1.127 GB, free: 169.1 MB / 1.01 GB Notification: Performance of Templates: time 0.08909/0.7928, allocations: 94.07 MB / 1.219 GB, free: 90.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.476251831976697]