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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0014/0.0014, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001484/0.001484, allocations: 189.5 kB / 17.31 MB, free: 5.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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.461/2.461, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.91 kB / 0.8774 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 153 MB / 1.027 GB, free: 1.934 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002427/0.2991, allocations: 1.437 MB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.303, allocations: 2.856 MB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.303, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.3031, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.3031, allocations: 19.84 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.3064, allocations: 1.549 MB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.3065, allocations: 39.67 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.3065, allocations: 15.94 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.3065, allocations: 15.92 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.356e-05/0.3066, allocations: 7.938 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3066, allocations: 4 kB / 1.033 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3085, allocations: 1.486 MB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.3085, allocations: 11.92 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.3085, allocations: 15.88 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3098, allocations: 1.08 MB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3098, allocations: 0 / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3098, allocations: 4 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3098, allocations: 0 / 1.035 GB, free: 9.371 MB / 0.8106 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.0005397/0.3104, allocations: 0.5041 MB / 1.036 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3104, allocations: 12.03 kB / 1.036 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.3105, allocations: 84.12 kB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3106, allocations: 255.5 kB / 1.036 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.3107, allocations: 150.9 kB / 1.036 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.3107, allocations: 162.9 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.3108, allocations: 105.1 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3108, allocations: 75.28 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.3109, allocations: 150.6 kB / 1.037 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.3109, allocations: 150.6 kB / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.603e-05/0.311, allocations: 150.6 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.3113, allocations: 465.9 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.785e-05/0.3113, allocations: 181.1 kB / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3114, allocations: 88.08 kB / 1.038 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3114, allocations: 75.28 kB / 1.038 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3115, allocations: 113.8 kB / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3115, allocations: 0 / 1.038 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.707e-05/0.3116, allocations: 37.55 kB / 1.038 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.3116, allocations: 130.7 kB / 1.038 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3118, allocations: 131.9 kB / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3118, allocations: 25.7 kB / 1.038 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.3118, allocations: 88.14 kB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3118, allocations: 4 kB / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3119, allocations: 17.72 kB / 1.038 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.312, allocations: 314.8 kB / 1.038 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.312, allocations: 8 kB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.312, allocations: 4 kB / 1.038 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.3121, allocations: 12.89 kB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3121, allocations: 0 / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.3122, allocations: 61.47 kB / 1.039 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3122, allocations: 4.062 kB / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3123, allocations: 11.94 kB / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3123, allocations: 0 / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3123, allocations: 0 / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3123, allocations: 0 / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.3123, allocations: 7.938 kB / 1.039 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3123, allocations: 0 / 1.039 GB, free: 5.621 MB / 0.8106 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.841e-05/0.3124, allocations: 193 kB / 1.039 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3125, allocations: 116.8 kB / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.3125, allocations: 112.8 kB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/0.3126, allocations: 176.3 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.218e-05/0.3126, allocations: 184.2 kB / 1.039 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.317e-05/0.3127, allocations: 180.2 kB / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3129, allocations: 409.2 kB / 1.04 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/0.3129, allocations: 116.9 kB / 1.04 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.313, allocations: 101 kB / 1.04 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.257e-05/0.313, allocations: 180.2 kB / 1.04 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.3131, allocations: 180.2 kB / 1.04 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.506e-05/0.3132, allocations: 184.3 kB / 1.041 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-05/0.3132, allocations: 180.2 kB / 1.041 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3133, allocations: 315.7 kB / 1.041 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.3134, allocations: 190 kB / 1.041 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.3135, allocations: 176.3 kB / 1.041 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.3136, allocations: 104.9 kB / 1.042 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3136, allocations: 184.3 kB / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.3137, allocations: 112.8 kB / 1.042 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.3137, allocations: 105.7 kB / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 0 / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006338/0.3144, allocations: 275.8 kB / 1.042 GB, free: 1.703 MB / 0.8106 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.0009147/0.3153, allocations: 0.5136 MB / 1.043 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.699e-05/0.3154, allocations: 41.69 kB / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3154, allocations: 0 / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3154, allocations: 0 / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3158, allocations: 467.5 kB / 1.043 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3161, allocations: 244.2 kB / 1.043 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3163, allocations: 0.6844 MB / 1.044 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.212e-05/0.3163, allocations: 0 / 1.044 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.3164, allocations: 7.438 kB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3164, allocations: 0 / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.008705/0.3251, allocations: 5.478 MB / 1.049 GB, free: 10.26 MB / 0.8262 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 -s gbode -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/jenkins1/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