Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007175/0.007175, allocations: 99.56 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001486, allocations: 191.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.83 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9555, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002707/0.9583, allocations: 1.388 MB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.9612, allocations: 1.782 MB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.9613, allocations: 4 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.9614, allocations: 11.92 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.9616, allocations: 27.84 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.9642, allocations: 1.138 MB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.9644, allocations: 51.77 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.9644, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.9645, allocations: 23.86 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.9646, allocations: 31.91 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.9646, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.9658, allocations: 0.8852 MB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.9659, allocations: 27.91 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.966, allocations: 23.81 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.9669, allocations: 0.8056 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.967, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/0.967, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.967, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 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.0005946/0.9676, allocations: 477.9 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9676, allocations: 16.92 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.9677, allocations: 8.891 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.9679, allocations: 192.7 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.9679, allocations: 4.375 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.9679, allocations: 7.922 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.968, allocations: 57.61 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.968, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.9681, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9681, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.9681, allocations: 31.98 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.9684, allocations: 193.6 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.9684, allocations: 50.45 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.9685, allocations: 36.88 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.9685, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.9685, allocations: 34.56 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.9686, allocations: 0 / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002236/0.9688, allocations: 121.6 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9688, allocations: 55.34 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.969, allocations: 152.7 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.969, allocations: 25.7 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.9691, allocations: 100.1 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.9691, allocations: 27.73 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.9691, allocations: 17.72 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9693, allocations: 326.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.9693, allocations: 28.02 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.9694, allocations: 23.98 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.9694, allocations: 64.98 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9694, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.9695, allocations: 93.58 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9696, allocations: 8 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9696, allocations: 0 / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9696, allocations: 0 / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.9696, allocations: 0 / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.9696, allocations: 3.938 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.9697, allocations: 4.062 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.9697, allocations: 7.984 kB / 1.175 GB, free: 11.23 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.9698, allocations: 125.8 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.9698, allocations: 3.953 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.97, allocations: 111.7 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.97, allocations: 0 / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.97, allocations: 3.938 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.97, allocations: 0 / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.9702, allocations: 197.5 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9702, allocations: 4 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.9702, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9702, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.9702, allocations: 4 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.9702, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.9702, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.9704, allocations: 120.9 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.9704, allocations: 89.02 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9704, allocations: 4.031 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.9705, allocations: 4 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.9705, allocations: 3.984 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.9705, allocations: 4 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.9706, allocations: 121.6 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9706, allocations: 0 / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005119/0.9711, allocations: 207.4 kB / 1.176 GB, free: 10.14 MB / 0.9044 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007152/0.9718, allocations: 342.3 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.972, allocations: 101.6 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.972, allocations: 0 / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.9721, allocations: 65.69 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.9723, allocations: 12.3 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.9727, allocations: 231.3 kB / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.973, allocations: 0.7041 MB / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.973, allocations: 12.11 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.973, allocations: 7.438 kB / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.973, allocations: 0 / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.007747/0.9808, allocations: 4.304 MB / 1.181 GB, free: 4.355 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches