Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008694/0.0008693, allocations: 86.52 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.263e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.9025, allocations: 139.7 MB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.9028, allocations: 99.42 kB / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05216/0.955, allocations: 16.21 MB / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.573e-06/0.955, allocations: 0 / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.9551, allocations: 8 kB / 1.044 GB, free: 13.01 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001918/0.957, allocations: 0.8173 MB / 1.045 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9571, allocations: 12.03 kB / 1.045 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.9572, allocations: 43.47 kB / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.9578, allocations: 363.2 kB / 1.045 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.9578, allocations: 22.06 kB / 1.045 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.9579, allocations: 46.34 kB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.9583, allocations: 195.9 kB / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9583, allocations: 7.984 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.9583, allocations: 7.25 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.9583, allocations: 0 / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.9586, allocations: 162.1 kB / 1.046 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.9634, allocations: 1.523 MB / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.9651, allocations: 0.5789 MB / 1.048 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.9653, allocations: 136.3 kB / 1.048 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.9653, allocations: 0 / 1.048 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.9654, allocations: 42.02 kB / 1.048 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.9654, allocations: 3.938 kB / 1.048 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.0007074/0.9661, allocations: 331.7 kB / 1.048 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.9662, allocations: 59.41 kB / 1.048 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.9665, allocations: 350.3 kB / 1.049 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.9666, allocations: 39.14 kB / 1.049 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.9668, allocations: 160.5 kB / 1.049 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.9669, allocations: 95.95 kB / 1.049 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.9669, allocations: 14.31 kB / 1.049 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9671, allocations: 355.6 kB / 1.049 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.9676, allocations: 333.1 kB / 1.05 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.9682, allocations: 400.4 kB / 1.05 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.9689, allocations: 408.9 kB / 1.05 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9689, allocations: 0 / 1.05 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00148/0.9704, allocations: 0.916 MB / 1.051 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.9704, allocations: 37.69 kB / 1.051 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.9704, allocations: 0 / 1.051 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.9706, allocations: 23.97 kB / 1.051 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.9715, allocations: 157.3 kB / 1.052 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.9726, allocations: 1.327 MB / 1.053 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9741, allocations: 111.6 kB / 1.053 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.9742, allocations: 18.61 kB / 1.053 GB, free: 5.047 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.9743, allocations: 138.4 kB / 1.053 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.9744, allocations: 31.53 kB / 1.053 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.9745, allocations: 44.83 kB / 1.053 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9745, allocations: 0 / 1.053 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9745, allocations: 3.984 kB / 1.053 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9745, allocations: 4 kB / 1.053 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.9751, allocations: 0.5053 MB / 1.054 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9751, allocations: 3.938 kB / 1.054 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.9754, allocations: 47.91 kB / 1.054 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.9755, allocations: 24.22 kB / 1.054 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.9755, allocations: 15.67 kB / 1.054 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009617/0.9765, allocations: 1.311 MB / 1.055 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9765, allocations: 0 / 1.055 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.9773, allocations: 0.5771 MB / 1.056 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.9774, allocations: 123.5 kB / 1.056 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.9774, allocations: 10.56 kB / 1.056 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.9781, allocations: 27.7 kB / 1.056 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.9782, allocations: 19.95 kB / 1.056 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.9782, allocations: 4 kB / 1.056 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000252/0.9784, allocations: 255.8 kB / 1.056 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9784, allocations: 0 / 1.056 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007856/0.9792, allocations: 273.4 kB / 1.056 GB, free: 1.805 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004103/0.9797, allocations: 246.9 kB / 1.057 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9808, allocations: 0.7375 MB / 1.057 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9808, allocations: 0 / 1.057 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.9811, allocations: 263.2 kB / 1.058 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.9816, allocations: 77.62 kB / 1.058 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.9833, allocations: 1.172 MB / 1.059 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.9837, allocations: 0.8144 MB / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.984, allocations: 110.9 kB / 1.06 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.9842, allocations: 39.34 kB / 1.06 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.9842, allocations: 0 / 1.06 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.01529/0.9995, allocations: 9.017 MB / 1.068 GB, free: 5.652 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches