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.001382/0.001382, allocations: 106 kB / 16.41 MB, free: 6.488 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.001393/0.001392, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 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.412/2.412, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.88 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.9514, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002674/0.9541, allocations: 1.376 MB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.9571, allocations: 1.785 MB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.9572, allocations: 0.75 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.9573, allocations: 13.28 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.9575, allocations: 42.97 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.9608, allocations: 1.143 MB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.961, allocations: 48.38 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.9611, allocations: 3.25 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.9612, allocations: 34.23 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.9613, allocations: 34.8 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.9613, allocations: 0.8125 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.9633, allocations: 0.8856 MB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.9635, allocations: 67.45 kB / 1.094 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.9636, allocations: 68.58 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9653, allocations: 0.8749 MB / 1.095 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9653, allocations: 0.8125 kB / 1.095 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9653, allocations: 0 / 1.095 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.9653, allocations: 0.75 kB / 1.095 GB, free: 2.043 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.0007814/0.9661, allocations: 0.5821 MB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9661, allocations: 9.375 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.9662, allocations: 20.88 kB / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.9664, allocations: 226.7 kB / 1.096 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.9664, allocations: 384 / 1.096 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.9664, allocations: 1.5 kB / 1.096 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.9666, allocations: 107 kB / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.9666, allocations: 0 / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.9667, allocations: 1.562 kB / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9667, allocations: 4 kB / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.9668, allocations: 75.11 kB / 1.096 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.9671, allocations: 290 kB / 1.096 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.9673, allocations: 122.2 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.9674, allocations: 104 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.9675, allocations: 6.156 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9675, allocations: 39.58 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 9.41e-07/0.9675, allocations: 0.5625 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0005707/0.9681, allocations: 337.2 kB / 1.097 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.9681, allocations: 52.56 kB / 1.097 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.9684, allocations: 256.5 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.9684, allocations: 25.7 kB / 1.097 GB, free: 480 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.9685, allocations: 128 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.9686, allocations: 106.5 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.9687, allocations: 31.09 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9688, allocations: 342.6 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.9689, allocations: 73.31 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.969, allocations: 74.5 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.9693, allocations: 205.6 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9693, allocations: 0.6562 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003235/0.9697, allocations: 232.8 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9697, allocations: 5.438 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.9697, allocations: 1.438 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9697, allocations: 0.7031 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.9697, allocations: 4.812 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9698, allocations: 0.5 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.9698, allocations: 11.16 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9698, allocations: 1.156 kB / 1.098 GB, free: 15.74 MB / 0.8731 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.0001604/0.97, allocations: 155.3 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.97, allocations: 28.12 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.9704, allocations: 260.5 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9704, allocations: 0 / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9705, allocations: 8.625 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.9705, allocations: 1.062 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.9708, allocations: 277.5 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.9708, allocations: 6.922 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.9708, allocations: 0 / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9708, allocations: 1.312 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9708, allocations: 4.5 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9708, allocations: 0.8438 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9708, allocations: 0 / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.9712, allocations: 260.8 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.9713, allocations: 109.1 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.9713, allocations: 0.7969 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.9713, allocations: 0.9375 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.9714, allocations: 5.219 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.9714, allocations: 1.438 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002363/0.9716, allocations: 193.1 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9716, allocations: 0 / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001067/0.9727, allocations: 210.9 kB / 1.1 GB, free: 14.89 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.0009294/0.9736, allocations: 335.3 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.9741, allocations: 268 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9741, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.9743, allocations: 179 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9746, allocations: 20.17 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9757, allocations: 0.5205 MB / 1.101 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.976, allocations: 0.7683 MB / 1.102 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.9761, allocations: 10.8 kB / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/0.9761, allocations: 0 / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.01216/0.9882, allocations: 4.685 MB / 1.106 GB, free: 13.09 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/jenkins1/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