Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001653/0.001652, allocations: 108.4 kB / 16.41 MB, free: 6.465 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.00182/0.00182, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9527, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002687/0.9555, allocations: 1.383 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.9584, allocations: 1.786 MB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.9585, allocations: 0 / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.9587, allocations: 10.02 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.9588, allocations: 27.97 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.962, allocations: 1.142 MB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.9621, allocations: 45.02 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.9622, allocations: 3.219 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.9623, allocations: 26.25 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.9624, allocations: 27.22 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.9624, allocations: 0.875 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.964, allocations: 0.8896 MB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.9641, allocations: 25.19 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.9642, allocations: 33.66 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.9656, allocations: 0.7934 MB / 1.095 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9656, allocations: 3.938 kB / 1.095 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9656, allocations: 0 / 1.095 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.9656, allocations: 0.625 kB / 1.095 GB, free: 2.09 MB / 0.8575 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.0006345/0.9662, allocations: 481 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9663, allocations: 13.47 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.9663, allocations: 8.062 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.9665, allocations: 188.1 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.9665, allocations: 8.859 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.9665, allocations: 4.938 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.9667, allocations: 53.58 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9667, allocations: 0 / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.9667, allocations: 0.6562 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.9667, allocations: 0.5 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.9668, allocations: 25.75 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.967, allocations: 189.5 kB / 1.096 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.967, allocations: 57.12 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.9671, allocations: 32.12 kB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.9671, allocations: 1 kB / 1.096 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.9672, allocations: 32.56 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.9672, allocations: 0 / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002504/0.9674, allocations: 122.5 kB / 1.096 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.9674, allocations: 52.72 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.9676, allocations: 154.5 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.9676, allocations: 30.27 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.9677, allocations: 99.56 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.9677, allocations: 29.5 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.9678, allocations: 14.78 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.9678, allocations: 325.4 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.9679, allocations: 25.91 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.9679, allocations: 25.53 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.968, allocations: 68.58 kB / 1.097 GB, free: 336 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9681, allocations: 4.031 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001271/0.9682, allocations: 92.34 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9682, allocations: 5.359 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9682, allocations: 5.25 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9683, allocations: 1.094 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.9683, allocations: 0.7969 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.9683, allocations: 0 / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.9683, allocations: 1.156 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.9683, allocations: 1.656 kB / 1.097 GB, free: 284 kB / 0.8575 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 8.125e-05/0.9684, allocations: 133.7 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.9684, allocations: 7 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.9686, allocations: 108.9 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.9686, allocations: 0.875 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9687, allocations: 1.719 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9687, allocations: 0 / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.9689, allocations: 195.7 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9689, allocations: 0.6562 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-06/0.9689, allocations: 1.281 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9689, allocations: 0 / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.9689, allocations: 5.125 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9689, allocations: 5.219 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9689, allocations: 0 / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.9691, allocations: 118.6 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.9692, allocations: 84.2 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.9692, allocations: 0.7031 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.9693, allocations: 5.062 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.9693, allocations: 1.734 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9693, allocations: 5.094 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001196/0.9694, allocations: 123.5 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9694, allocations: 0 / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009292/0.9704, allocations: 204.1 kB / 1.098 GB, free: 15.57 MB / 0.8731 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.0008776/0.9712, allocations: 339.1 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.9714, allocations: 97.53 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9715, allocations: 0 / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.9715, allocations: 69.56 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.9718, allocations: 12.56 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.9723, allocations: 258.4 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.9726, allocations: 0.7041 MB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.9726, allocations: 8.188 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.9726, allocations: 0 / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.01047/0.9831, allocations: 3.98 MB / 1.103 GB, free: 14.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches