Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001469/0.001468, allocations: 108 kB / 15.6 MB, free: 132 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.001799/0.001799, allocations: 192 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437 MB / 0.7103 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7355, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002608/0.7381, allocations: 1.434 MB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.7423, allocations: 2.895 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.7423, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.7424, allocations: 11.92 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.7425, allocations: 11.86 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.746, allocations: 1.592 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.7461, allocations: 47.72 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.7461, allocations: 11.98 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.7462, allocations: 15.94 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.7462, allocations: 19.86 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7462, allocations: 3.938 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.7482, allocations: 1.462 MB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.7482, allocations: 0 / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.7483, allocations: 19.88 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.7495, allocations: 1.119 MB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7496, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7496, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7496, allocations: 0 / 1.026 GB, free: 9.816 MB / 0.7794 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.0005655/0.7501, allocations: 0.5186 MB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7502, allocations: 8.031 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.7503, allocations: 84.12 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.7504, allocations: 255.5 kB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.7505, allocations: 154.9 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.7505, allocations: 150.9 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.138e-05/0.7506, allocations: 113.1 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.7506, allocations: 79.27 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.7507, allocations: 154.6 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.7507, allocations: 150.6 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.7508, allocations: 150.6 kB / 1.028 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.7511, allocations: 465.9 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.7511, allocations: 169.1 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.7512, allocations: 80.14 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.7512, allocations: 75.28 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.7512, allocations: 121.8 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.7513, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.226e-05/0.7513, allocations: 33.55 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.7514, allocations: 126.7 kB / 1.029 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7515, allocations: 132 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.7515, allocations: 25.7 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.7516, allocations: 96.12 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.7516, allocations: 0 / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.7516, allocations: 21.72 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.7517, allocations: 314.8 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.7518, allocations: 8 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.7518, allocations: 4 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.7518, allocations: 16.86 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7518, allocations: 0 / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001239/0.752, allocations: 57.47 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.752, allocations: 8 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.752, allocations: 0 / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.752, allocations: 12 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.752, allocations: 0 / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7521, allocations: 3.938 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.7521, allocations: 7.844 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.7521, allocations: 0 / 1.029 GB, free: 6.051 MB / 0.7794 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 9.577e-05/0.7522, allocations: 185.8 kB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.7523, allocations: 112.9 kB / 1.03 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.7523, allocations: 112.9 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/0.7524, allocations: 184.3 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.7524, allocations: 188.2 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-05/0.7525, allocations: 176.3 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.7527, allocations: 421.3 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.7527, allocations: 108.9 kB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.7527, allocations: 105 kB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-05/0.7528, allocations: 184.2 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.7529, allocations: 180.2 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-05/0.7529, allocations: 180.3 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.753, allocations: 184.2 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.7531, allocations: 307.7 kB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.7531, allocations: 193.9 kB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.7532, allocations: 180.3 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-05/0.7533, allocations: 104.9 kB / 1.032 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.7533, allocations: 180.3 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.7534, allocations: 108.9 kB / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.7534, allocations: 100.5 kB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7534, allocations: 0 / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006108/0.7541, allocations: 283.8 kB / 1.033 GB, free: 2.129 MB / 0.7794 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.0009439/0.755, allocations: 0.5331 MB / 1.033 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.7551, allocations: 41.7 kB / 1.033 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7551, allocations: 4 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7551, allocations: 0 / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.7555, allocations: 469.2 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.7558, allocations: 228.2 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.756, allocations: 0.6846 MB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.756, allocations: 4 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-06/0.756, allocations: 11.44 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.756, allocations: 0 / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of Templates: time 0.008599/0.7647, allocations: 5.658 MB / 1.04 GB, free: 10.49 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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