Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.001073/0.001073, allocations: 172.9 kB / 321.3 MB, free: 14.68 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.549/1.549, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008473/0.0008474, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.746e-05, allocations: 7.984 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2266, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7408/0.9675, allocations: 143.9 MB / 1.032 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.9679, allocations: 119.6 kB / 1.032 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.9909, allocations: 7.904 MB / 1.04 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9909, allocations: 0 / 1.04 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.9909, allocations: 0 / 1.04 GB, free: 15.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006203/0.9916, allocations: 485 kB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9916, allocations: 8.031 kB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.9917, allocations: 7.906 kB / 1.041 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.9919, allocations: 195.3 kB / 1.041 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9919, allocations: 7.922 kB / 1.041 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9919, allocations: 7 kB / 1.041 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.992, allocations: 49.69 kB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.992, allocations: 0 / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.9921, allocations: 2.188 kB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9921, allocations: 0 / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.9921, allocations: 22.98 kB / 1.041 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.9923, allocations: 192.2 kB / 1.041 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.9924, allocations: 46 kB / 1.041 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.9924, allocations: 47.44 kB / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.9925, allocations: 0 / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.9925, allocations: 34.56 kB / 1.041 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.9925, allocations: 0 / 1.041 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0001881/0.9927, allocations: 93.12 kB / 1.041 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.9927, allocations: 51.41 kB / 1.041 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.9929, allocations: 134.5 kB / 1.042 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9929, allocations: 29.73 kB / 1.042 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.9929, allocations: 95.62 kB / 1.042 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.993, allocations: 34.56 kB / 1.042 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.993, allocations: 0 / 1.042 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9931, allocations: 325.5 kB / 1.042 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.9932, allocations: 27.92 kB / 1.042 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.9932, allocations: 23.42 kB / 1.042 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.9932, allocations: 35.78 kB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9933, allocations: 0 / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.9934, allocations: 89.84 kB / 1.042 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.9934, allocations: 8 kB / 1.042 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9934, allocations: 3.984 kB / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.9934, allocations: 0 / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.9934, allocations: 0 / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.9935, allocations: 80 / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.9935, allocations: 4 kB / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.9935, allocations: 3.984 kB / 1.042 GB, free: 13.64 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.9936, allocations: 104.9 kB / 1.042 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.9936, allocations: 15.31 kB / 1.042 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.9938, allocations: 209.4 kB / 1.042 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/0.9939, allocations: 180.3 kB / 1.043 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/0.9939, allocations: 184.7 kB / 1.043 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/0.994, allocations: 176.3 kB / 1.043 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.9943, allocations: 451.5 kB / 1.043 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/0.9944, allocations: 104.8 kB / 1.044 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.9944, allocations: 104.9 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-05/0.9945, allocations: 184.2 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.9946, allocations: 176.3 kB / 1.044 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.26e-05/0.9947, allocations: 180.2 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.081e-05/0.9947, allocations: 188.2 kB / 1.044 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.9949, allocations: 315.4 kB / 1.045 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.9951, allocations: 221.5 kB / 1.045 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.9952, allocations: 187.5 kB / 1.045 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.9953, allocations: 101 kB / 1.045 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.9954, allocations: 180.3 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.9954, allocations: 104.9 kB / 1.045 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002738/0.9957, allocations: 263.1 kB / 1.046 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9957, allocations: 0 / 1.046 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008335/0.9965, allocations: 245.1 kB / 1.046 GB, free: 9.723 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000931/0.9975, allocations: 441.6 kB / 1.046 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.9976, allocations: 74.38 kB / 1.046 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9976, allocations: 0 / 1.046 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.9977, allocations: 0 / 1.046 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.9982, allocations: 0.5262 MB / 1.047 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.9985, allocations: 200.1 kB / 1.047 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.9989, allocations: 0.7083 MB / 1.048 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.999, allocations: 7.984 kB / 1.048 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.999, allocations: 7.438 kB / 1.048 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of SimCode: time 3.126e-06/0.999, allocations: 0 / 1.048 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of Templates: time 0.008454/1.007, allocations: 4.188 MB / 1.052 GB, free: 3.605 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches