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.006843/0.006843, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001542/0.001542, allocations: 189.9 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.527/2.527, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.98 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002236/0.2955, allocations: 1.387 MB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.2983, allocations: 1.78 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.2984, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.2985, allocations: 11.92 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2987, allocations: 27.89 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.3013, allocations: 1.132 MB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.3014, allocations: 47.78 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3015, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.3015, allocations: 27.84 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.3016, allocations: 27.91 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3016, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.3028, allocations: 0.8968 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3028, allocations: 19.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.3029, allocations: 39.73 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.3038, allocations: 0.7975 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3039, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3039, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3039, allocations: 0 / 1.094 GB, free: 11.23 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.0005705/0.3045, allocations: 474.8 kB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3045, allocations: 12.03 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3045, allocations: 8.844 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3048, allocations: 184.7 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3048, allocations: 12.38 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.3048, allocations: 3.938 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3049, allocations: 53.69 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.3049, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.3049, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3049, allocations: 3.984 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.305, allocations: 23.94 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.3052, allocations: 189.6 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.3052, allocations: 50.5 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.3053, allocations: 32.89 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3053, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3053, allocations: 38.55 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3053, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0001958/0.3055, allocations: 121.7 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3056, allocations: 51.41 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3057, allocations: 153.6 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3057, allocations: 29.73 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3058, allocations: 100.1 kB / 1.096 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.3058, allocations: 23.56 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3059, allocations: 21.7 kB / 1.096 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.306, allocations: 322.8 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.306, allocations: 27.98 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.306, allocations: 20.22 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.987e-05/0.3061, allocations: 68.89 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3061, allocations: 4.031 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.3062, allocations: 93.47 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3063, allocations: 8 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3063, allocations: 3.984 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3063, allocations: 3.938 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3063, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3063, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.3063, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3064, allocations: 4 kB / 1.096 GB, free: 8.902 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 8.844e-05/0.3065, allocations: 133.8 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.3065, allocations: 7.906 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.3066, allocations: 110.2 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3066, allocations: 0 / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3067, allocations: 0 / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3067, allocations: 0 / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3068, allocations: 197.5 kB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3068, allocations: 0 / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3068, allocations: 0 / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3068, allocations: 4 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.3068, allocations: 4.031 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3068, allocations: 0 / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3068, allocations: 0 / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.307, allocations: 117 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.307, allocations: 89 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.307, allocations: 4 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.3071, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.3071, allocations: 3.938 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3071, allocations: 8.031 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.3072, allocations: 121.6 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3072, allocations: 0 / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004662/0.3077, allocations: 203.9 kB / 1.097 GB, free: 7.82 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.0006813/0.3083, allocations: 334.9 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3085, allocations: 93.67 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3085, allocations: 0 / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.3086, allocations: 65.69 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.3088, allocations: 24.69 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.3092, allocations: 227.5 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3095, allocations: 0.7041 MB / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.3095, allocations: 0 / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.3095, allocations: 11.44 kB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3095, allocations: 0 / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Templates: time 0.007597/0.3171, allocations: 4.322 MB / 1.103 GB, free: 2.035 MB / 0.8575 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/jenkins/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