Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001785/0.001785, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.002574/0.002574, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.908, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002368/0.9104, allocations: 1.438 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003711/0.9141, allocations: 2.886 MB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.9142, allocations: 0 / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.9142, allocations: 5.625 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.9143, allocations: 16.83 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.9179, allocations: 1.593 MB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.918, allocations: 45.33 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.918, allocations: 7.219 kB / 1.095 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.9181, allocations: 13.77 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.9181, allocations: 17.67 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.9181, allocations: 5.094 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.9208, allocations: 1.529 MB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.9208, allocations: 9.953 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.9209, allocations: 20.3 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.9226, allocations: 1.1 MB / 1.097 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9227, allocations: 0 / 1.097 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9227, allocations: 0 / 1.097 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.9227, allocations: 1.062 kB / 1.097 GB, free: 0.875 MB / 0.8575 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.000538/0.9232, allocations: 0.5186 MB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9233, allocations: 8.281 kB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.9233, allocations: 82.89 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.9234, allocations: 253.8 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/0.9235, allocations: 151.9 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.9236, allocations: 151.5 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.506e-05/0.9236, allocations: 109.8 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.9237, allocations: 76.61 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.9237, allocations: 150.6 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.9238, allocations: 155.3 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.9238, allocations: 151.9 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.9241, allocations: 461.6 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.9242, allocations: 174.4 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.9242, allocations: 85.14 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.9243, allocations: 75.28 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.9243, allocations: 111.7 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/0.9243, allocations: 0 / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.9244, allocations: 37.44 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.9244, allocations: 51.97 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.9246, allocations: 136 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.9246, allocations: 26.8 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.9246, allocations: 100.5 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.9247, allocations: 3.938 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.9247, allocations: 16.03 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9248, allocations: 318.9 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.9248, allocations: 3.125 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.9248, allocations: 8.547 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.9249, allocations: 19.31 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9249, allocations: 0 / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.925, allocations: 50.52 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9251, allocations: 5.25 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.9251, allocations: 7.688 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.9251, allocations: 1.125 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.9251, allocations: 0 / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.9251, allocations: 9.719 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.9252, allocations: 7.844 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.9252, allocations: 6 kB / 1.101 GB, free: 13.39 MB / 0.8731 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.408e-05/0.9253, allocations: 187.2 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.9253, allocations: 113.4 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.9254, allocations: 108.3 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-05/0.9255, allocations: 185.7 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/0.9255, allocations: 106.3 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.9256, allocations: 185.1 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.9257, allocations: 183 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.9257, allocations: 102.7 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.9258, allocations: 182.1 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.544e-05/0.9259, allocations: 257.2 kB / 1.102 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001458/0.926, allocations: 390.3 kB / 1.102 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.94e-05/0.9261, allocations: 106.9 kB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.9261, allocations: 103.5 kB / 1.103 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of Backend: time 4.21e-07/0.9262, allocations: 0 / 1.103 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.9278, allocations: 0.516 MB / 1.103 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006458/0.9285, allocations: 0.9071 MB / 1.104 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.01289/0.9414, allocations: 6.372 MB / 1.11 GB, free: 9.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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