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.InternalResistancesOneUTube.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009166/0.009166, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.567/1.567, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 16.48 kB / 0.9028 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 159.6 MB / 1.059 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001574/0.3027, allocations: 1.158 MB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.307, allocations: 2.911 MB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.3071, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.3071, allocations: 3.984 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.3072, allocations: 19.86 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.3107, allocations: 1.362 MB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.3108, allocations: 43.62 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3108, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.3108, allocations: 15.94 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.154e-05/0.3109, allocations: 19.86 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3109, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.3132, allocations: 1.431 MB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3132, allocations: 3.984 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3133, allocations: 45.58 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.3148, allocations: 1.092 MB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3148, allocations: 0 / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.582e-06/0.3148, allocations: 3.938 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3149, allocations: 0 / 1.067 GB, free: 13.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005516/0.3154, allocations: 0.5069 MB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3155, allocations: 12.03 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.3155, allocations: 80.22 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3157, allocations: 255.4 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.3157, allocations: 154.9 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.3158, allocations: 154.9 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.609e-05/0.3159, allocations: 113.1 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.3159, allocations: 75.28 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.316, allocations: 154.6 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.316, allocations: 150.6 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.3161, allocations: 154.5 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3164, allocations: 461.9 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.3165, allocations: 173.1 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.3165, allocations: 80.14 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3165, allocations: 75.28 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.3166, allocations: 117.7 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.3166, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.317e-05/0.3167, allocations: 33.7 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3167, allocations: 130.7 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3169, allocations: 131.1 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.3169, allocations: 25.7 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.3169, allocations: 96.12 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.317, allocations: 9.719 kB / 1.07 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3171, allocations: 322.8 kB / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.3171, allocations: 0 / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.3171, allocations: 4 kB / 1.07 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.3172, allocations: 24.86 kB / 1.07 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3172, allocations: 7.938 kB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.3173, allocations: 49.53 kB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3173, allocations: 4 kB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.3173, allocations: 12 kB / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.3174, allocations: 0 / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3174, allocations: 0 / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3174, allocations: 3.984 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.3174, allocations: 0 / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3174, allocations: 4 kB / 1.07 GB, free: 9.527 MB / 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 8.562e-05/0.3175, allocations: 185.2 kB / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.3176, allocations: 116.8 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.3176, allocations: 108.8 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.3177, allocations: 188.3 kB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.107e-05/0.3178, allocations: 180.2 kB / 1.071 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-05/0.3178, allocations: 180.3 kB / 1.071 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3181, allocations: 417.1 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/0.3181, allocations: 104.9 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.3182, allocations: 104.9 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.165e-05/0.3182, allocations: 184.3 kB / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3183, allocations: 180.3 kB / 1.072 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-05/0.3184, allocations: 184.2 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.045e-05/0.3184, allocations: 176.3 kB / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3185, allocations: 307.8 kB / 1.073 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.3186, allocations: 193.9 kB / 1.073 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.3187, allocations: 184.2 kB / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.3188, allocations: 105 kB / 1.073 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3188, allocations: 180.2 kB / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3189, allocations: 109 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.3189, allocations: 96.98 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3189, allocations: 0 / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007638/0.3197, allocations: 283.8 kB / 1.074 GB, free: 5.617 MB / 0.8262 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000984/0.3207, allocations: 0.5159 MB / 1.074 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.3208, allocations: 37.62 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3208, allocations: 4 kB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.3208, allocations: 3.938 kB / 1.074 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3212, allocations: 0.5332 MB / 1.075 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.3215, allocations: 251.7 kB / 1.075 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3218, allocations: 0.6887 MB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.299e-05/0.3218, allocations: 0 / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.3218, allocations: 15.38 kB / 1.076 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.3218, allocations: 0 / 1.076 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of Templates: time 0.009404/0.3312, allocations: 5.477 MB / 1.081 GB, free: 14.07 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches