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.0008026/0.0008026, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008343/0.0008343, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003942, allocations: 16 kB / 0.9022 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.362, allocations: 159.6 MB / 1.058 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001525/0.3636, allocations: 1.139 MB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.3674, allocations: 2.633 MB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.3675, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.3675, allocations: 3.984 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.3676, allocations: 11.86 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.3704, allocations: 1.234 MB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.3705, allocations: 39.73 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.3706, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.3706, allocations: 15.94 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.3706, allocations: 19.92 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3706, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.3724, allocations: 1.209 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.3724, allocations: 11.94 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.3725, allocations: 29.7 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.3734, allocations: 0.6982 MB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3734, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3734, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3734, allocations: 4 kB / 1.065 GB, free: 14.19 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.0005217/0.3739, allocations: 0.5067 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.374, allocations: 8.031 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.3741, allocations: 79.28 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3742, allocations: 258.1 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.3743, allocations: 154.5 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.3744, allocations: 154.6 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/0.3744, allocations: 109 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3745, allocations: 75.28 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.3745, allocations: 154.5 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.3746, allocations: 150.6 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.591e-05/0.3747, allocations: 158.5 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.375, allocations: 461.9 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.375, allocations: 177.1 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.3751, allocations: 80.14 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3751, allocations: 75.28 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3752, allocations: 109.8 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3752, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.3753, allocations: 37.55 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3753, allocations: 130.6 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3755, allocations: 131.7 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3755, allocations: 25.7 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.3755, allocations: 92.12 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3756, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.3756, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3757, allocations: 314.8 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.3757, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.3757, allocations: 8 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.3758, allocations: 11.92 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3758, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.3759, allocations: 53.5 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3759, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3759, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3759, allocations: 4.062 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.376, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.376, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.376, allocations: 7.984 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.376, allocations: 0 / 1.068 GB, free: 10.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.3761, allocations: 181.1 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.3762, allocations: 112.8 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.3762, allocations: 112.8 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/0.3763, allocations: 188.2 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.89e-05/0.3764, allocations: 180.2 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001755/0.3766, allocations: 176.3 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3769, allocations: 409.2 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/0.3769, allocations: 104.9 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.377, allocations: 113 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-05/0.377, allocations: 184.2 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.3772, allocations: 180.3 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-05/0.3773, allocations: 180.3 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001179/0.3774, allocations: 184.2 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3776, allocations: 319.9 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3777, allocations: 178.1 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.3778, allocations: 180.3 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.3779, allocations: 112.9 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.378, allocations: 184.2 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.3781, allocations: 108.9 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.3781, allocations: 97.14 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3781, allocations: 0 / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000686/0.3788, allocations: 275.8 kB / 1.072 GB, free: 6.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008916/0.3797, allocations: 0.5011 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.3798, allocations: 33.69 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3798, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.3798, allocations: 12.06 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3803, allocations: 0.5262 MB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3806, allocations: 255.7 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3809, allocations: 0.6809 MB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.3809, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.3809, allocations: 11.44 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3809, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.008937/0.3899, allocations: 5.418 MB / 1.079 GB, free: 15.12 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