Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001277/0.001277, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.7 MB / 0.7452 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.27 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002694/0.2932, allocations: 1.378 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.296, allocations: 1.795 MB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.2961, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.167e-05/0.2962, allocations: 7.922 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2964, allocations: 27.89 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.2992, allocations: 1.151 MB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.2993, allocations: 47.83 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.2993, allocations: 4 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.2994, allocations: 35.78 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.2995, allocations: 23.91 kB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.2996, allocations: 8 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3009, allocations: 0.8501 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.301, allocations: 63.75 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.037e-05/0.3011, allocations: 71.42 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3024, allocations: 0.8654 MB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3024, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3024, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3024, allocations: 4 kB / 1.074 GB, free: 3.98 MB / 0.8262 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.0007954/0.3032, allocations: 0.5955 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3033, allocations: 8.031 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3033, allocations: 24.66 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3035, allocations: 222.8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3036, allocations: 384 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.3036, allocations: 4.312 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3038, allocations: 110.3 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.3038, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3038, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3038, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.3039, allocations: 75.97 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3042, allocations: 277.9 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3043, allocations: 118.5 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.3044, allocations: 120.8 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3044, allocations: 3.938 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3045, allocations: 30.56 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.3045, allocations: 0 / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0003842/0.3049, allocations: 333.8 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3049, allocations: 55.44 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3052, allocations: 253 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3052, allocations: 25.7 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.3053, allocations: 128.7 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.3053, allocations: 110.4 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3054, allocations: 25.7 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3056, allocations: 342.8 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.3057, allocations: 79.91 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.3057, allocations: 71.97 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3059, allocations: 201.8 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3059, allocations: 0 / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002275/0.3062, allocations: 229.2 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3062, allocations: 4 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.3062, allocations: 4 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3062, allocations: 7.922 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3062, allocations: 0 / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3062, allocations: 3.984 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.3063, allocations: 11.84 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3063, allocations: 4.062 kB / 1.078 GB, free: 344 kB / 0.8262 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.0001241/0.3064, allocations: 157.7 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3065, allocations: 27.56 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3068, allocations: 248.4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3068, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3068, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3068, allocations: 8.016 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.307, allocations: 285.8 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.307, allocations: 7.938 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.3071, allocations: 4 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3071, allocations: 0 / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.3071, allocations: 0 / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3071, allocations: 0 / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3071, allocations: 0 / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3073, allocations: 272.6 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3074, allocations: 104.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3074, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.3075, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.3075, allocations: 7.984 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.3075, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001591/0.3077, allocations: 184.5 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.445e-06/0.3077, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006341/0.3083, allocations: 211.8 kB / 1.079 GB, free: 14.74 MB / 0.8419 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.000876/0.3092, allocations: 339 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.3095, allocations: 265.6 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3095, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3097, allocations: 181.6 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.31, allocations: 20.48 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.3107, allocations: 0.4942 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3111, allocations: 0.7632 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.3111, allocations: 0 / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3112, allocations: 11.44 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3112, allocations: 0 / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.009707/0.3209, allocations: 4.591 MB / 1.086 GB, free: 8.086 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches