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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01091/0.01091, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.002033/0.002033, allocations: 188 kB / 16.67 MB, free: 5.973 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.514/2.514, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 63.12 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002687/0.3442, allocations: 1.379 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.347, allocations: 1.792 MB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.3471, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.3472, allocations: 11.92 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3474, allocations: 35.83 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.35, allocations: 1.136 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3501, allocations: 59.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3502, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.3503, allocations: 27.91 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.3504, allocations: 27.86 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3504, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3516, allocations: 0.8969 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3518, allocations: 71.75 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.3518, allocations: 59.44 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3529, allocations: 0.8846 MB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3529, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3529, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3529, allocations: 0 / 1.094 GB, free: 11.07 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006918/0.3536, allocations: 0.58 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3536, allocations: 8.031 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3537, allocations: 24.66 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3539, allocations: 226.8 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.3539, allocations: 384 / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.354, allocations: 384 / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3541, allocations: 106.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3541, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3541, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.3541, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.3542, allocations: 79.91 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.3545, allocations: 281.8 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3546, allocations: 122.5 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.3547, allocations: 104.9 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3548, allocations: 7.938 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3548, allocations: 34.55 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.3548, allocations: 0 / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0004012/0.3552, allocations: 337.8 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3553, allocations: 51.44 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3555, allocations: 265 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3555, allocations: 29.64 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.3556, allocations: 124.7 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.3557, allocations: 102.4 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3557, allocations: 29.7 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3559, allocations: 342.8 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.356, allocations: 71.97 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.356, allocations: 71.98 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3562, allocations: 209.8 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3562, allocations: 0 / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002216/0.3565, allocations: 229.1 kB / 1.098 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3565, allocations: 7.938 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3565, allocations: 4 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3565, allocations: 0 / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3565, allocations: 0 / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3565, allocations: 0 / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.3566, allocations: 11.84 kB / 1.098 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3566, allocations: 0 / 1.098 GB, free: 7.445 MB / 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 0.0001358/0.3567, allocations: 161.8 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3568, allocations: 23.66 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.3571, allocations: 264.2 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3571, allocations: 3.938 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3571, allocations: 0 / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3571, allocations: 0 / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3573, allocations: 277.9 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.3573, allocations: 7.938 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3573, allocations: 0 / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3573, allocations: 4.031 kB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3573, allocations: 0 / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3574, allocations: 3.984 kB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3574, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3576, allocations: 256.8 kB / 1.099 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.3577, allocations: 108.6 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3577, allocations: 0 / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.3577, allocations: 0 / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3578, allocations: 4.031 kB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3578, allocations: 4 kB / 1.099 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001548/0.3579, allocations: 192.4 kB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3579, allocations: 0 / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005428/0.3585, allocations: 211.9 kB / 1.099 GB, free: 5.852 MB / 0.8575 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.0007012/0.3592, allocations: 342.7 kB / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.3595, allocations: 261.6 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3595, allocations: 0 / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3597, allocations: 181.7 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3599, allocations: 29.12 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.3606, allocations: 498.1 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.361, allocations: 0.7671 MB / 1.101 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.361, allocations: 3.938 kB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.361, allocations: 15.5 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.084e-06/0.361, allocations: 0 / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.008751/0.3698, allocations: 4.639 MB / 1.106 GB, free: 15.13 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches