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.371/1.371, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 182.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008751/0.0008752, allocations: 94.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 11.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.3945, allocations: 144 MB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.3949, allocations: 119.9 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.4176, allocations: 7.947 MB / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4176, allocations: 0 / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4176, allocations: 0 / 1.049 GB, free: 7.629 MB / 0.698 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.0006994/0.4183, allocations: 498.6 kB / 1.049 GB, free: 7.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4184, allocations: 11.97 kB / 1.049 GB, free: 7.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.4184, allocations: 7.906 kB / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.4186, allocations: 199.3 kB / 1.049 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4186, allocations: 0 / 1.049 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4187, allocations: 0 / 1.049 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4188, allocations: 57.67 kB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4188, allocations: 0 / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.4188, allocations: 0 / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4188, allocations: 0 / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.4189, allocations: 23.98 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4191, allocations: 193.5 kB / 1.05 GB, free: 6.512 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.4191, allocations: 56.45 kB / 1.05 GB, free: 6.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4192, allocations: 0 / 1.05 GB, free: 6.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4192, allocations: 30.56 kB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.4192, allocations: 0 / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002654/0.4195, allocations: 202.7 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4195, allocations: 55.34 kB / 1.05 GB, free: 6.121 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4196, allocations: 137.2 kB / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4197, allocations: 29.7 kB / 1.05 GB, free: 5.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.4197, allocations: 100.1 kB / 1.05 GB, free: 5.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.4198, allocations: 27.64 kB / 1.05 GB, free: 5.812 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.4198, allocations: 3.938 kB / 1.05 GB, free: 5.809 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4199, allocations: 322.8 kB / 1.05 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.4199, allocations: 23.97 kB / 1.051 GB, free: 5.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.42, allocations: 27.98 kB / 1.051 GB, free: 5.434 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.42, allocations: 31.98 kB / 1.051 GB, free: 5.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.42, allocations: 4.031 kB / 1.051 GB, free: 5.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001113/0.4201, allocations: 93.62 kB / 1.051 GB, free: 5.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4202, allocations: 4 kB / 1.051 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.4202, allocations: 7.984 kB / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4202, allocations: 0 / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-06/0.4202, allocations: 0 / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4202, allocations: 8.188 kB / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.4203, allocations: 0 / 1.051 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4203, allocations: 4 kB / 1.051 GB, free: 5.277 MB / 0.698 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 () * Number of clocked 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 8.876e-05/0.4204, allocations: 129.8 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.4204, allocations: 7.906 kB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.4206, allocations: 206.5 kB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-05/0.4207, allocations: 184.2 kB / 1.051 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-05/0.4207, allocations: 176.3 kB / 1.051 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-05/0.4208, allocations: 180.3 kB / 1.052 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.421, allocations: 453 kB / 1.052 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.4211, allocations: 105 kB / 1.052 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.4211, allocations: 108.9 kB / 1.052 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-05/0.4212, allocations: 180.3 kB / 1.052 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.4212, allocations: 176.3 kB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.379e-05/0.4213, allocations: 188.2 kB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.884e-05/0.4213, allocations: 184.2 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4215, allocations: 311.7 kB / 1.053 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4216, allocations: 217.9 kB / 1.053 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.4217, allocations: 184.2 kB / 1.054 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.4218, allocations: 105 kB / 1.054 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.4219, allocations: 180.2 kB / 1.054 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.4219, allocations: 105.8 kB / 1.054 GB, free: 1.734 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002428/0.4222, allocations: 263.7 kB / 1.054 GB, free: 1.477 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4222, allocations: 0 / 1.054 GB, free: 1.477 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008611/0.423, allocations: 247.6 kB / 1.054 GB, free: 1.234 MB / 0.698 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 () * Number of clocked 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.000807/0.4239, allocations: 441.9 kB / 1.055 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.424, allocations: 77.92 kB / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.424, allocations: 0 / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.424, allocations: 0 / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4244, allocations: 0.527 MB / 1.055 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3836/0.808, allocations: 287.9 kB / 1.056 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.8082, allocations: 0.7046 MB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.8082, allocations: 0.7812 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.8083, allocations: 9.156 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/0.8083, allocations: 3.844 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of Templates: time 0.008217/0.8165, allocations: 4.114 MB / 1.06 GB, free: 147.6 MB / 0.698 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