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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001713/0.001713, allocations: 168.7 kB / 15.95 MB, free: 204 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.873/2.873, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 8.688 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3561, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00144/0.3576, allocations: 1.144 MB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3614, allocations: 2.672 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.3615, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.3615, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.3616, allocations: 15.84 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.3646, allocations: 1.258 MB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.3646, allocations: 43.67 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.3647, allocations: 0 / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.3647, allocations: 19.92 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.3648, allocations: 15.92 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3648, allocations: 7.938 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.3666, allocations: 1.256 MB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3666, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.3667, allocations: 33.64 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3677, allocations: 0.7177 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3677, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3677, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.3678, allocations: 0 / 1.065 GB, free: 14.1 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.0006134/0.3684, allocations: 0.5184 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3684, allocations: 8.031 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.3685, allocations: 79.28 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3687, allocations: 248.6 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.3688, allocations: 150.6 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.3689, allocations: 150.6 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.521e-05/0.3689, allocations: 112.9 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.369, allocations: 75.28 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.3691, allocations: 154.5 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/0.3692, allocations: 154.6 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.476e-05/0.3692, allocations: 150.6 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.3696, allocations: 473.9 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3698, allocations: 169.1 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.3698, allocations: 80.14 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.3699, allocations: 75.28 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.3699, allocations: 109.8 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.3699, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.783e-05/0.37, allocations: 33.61 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.3701, allocations: 130.6 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3703, allocations: 134 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3703, allocations: 25.7 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.3704, allocations: 99.97 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3704, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.3704, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3706, allocations: 322.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.3706, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.3706, allocations: 11.98 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.3707, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3707, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.3708, allocations: 45.66 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3708, allocations: 8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.3708, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3709, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3709, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3709, allocations: 4.062 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.3709, allocations: 7.844 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3709, allocations: 3.984 kB / 1.068 GB, free: 10.39 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 0.0001274/0.3711, allocations: 189.1 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.3711, allocations: 104.9 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3712, allocations: 108.9 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-05/0.3713, allocations: 184.2 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.263e-05/0.3714, allocations: 184.2 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.881e-05/0.3715, allocations: 184.2 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3717, allocations: 405.2 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.3718, allocations: 113 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3718, allocations: 108.9 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.3719, allocations: 188.3 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.372, allocations: 184.2 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.448e-05/0.372, allocations: 180.3 kB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-05/0.3721, allocations: 176.3 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3723, allocations: 315.7 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.3723, allocations: 189.9 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.3724, allocations: 180.5 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3725, allocations: 105 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3726, allocations: 188.2 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.3726, allocations: 105 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.3727, allocations: 104.7 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006819/0.3734, allocations: 275.8 kB / 1.072 GB, free: 6.473 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.0009675/0.3744, allocations: 0.5089 MB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3745, allocations: 37.64 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3745, allocations: 7.938 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.3745, allocations: 4 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.375, allocations: 0.5264 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.3754, allocations: 256.1 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3757, allocations: 0.6809 MB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.3758, allocations: 3.984 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.3758, allocations: 11.44 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3758, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of Templates: time 0.009756/0.3856, allocations: 5.609 MB / 1.08 GB, free: 14.81 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x