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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001534/0.001534, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001633/0.001633, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.358/1.358, 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 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.28 kB / 0.8141 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2895, allocations: 140.4 MB / 0.9512 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003631/0.2932, allocations: 1.444 MB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006946/0.3002, allocations: 2.895 MB / 0.9554 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.3003, allocations: 4 kB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.3004, allocations: 7.922 kB / 0.9554 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.3005, allocations: 7.875 kB / 0.9554 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006514/0.3071, allocations: 1.575 MB / 0.957 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3073, allocations: 47.67 kB / 0.957 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.335e-05/0.3074, allocations: 7.938 kB / 0.957 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.3074, allocations: 15.94 kB / 0.957 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.3075, allocations: 23.8 kB / 0.9571 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3075, allocations: 4 kB / 0.9571 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.3111, allocations: 1.533 MB / 0.9586 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.3111, allocations: 4 kB / 0.9586 GB, free: 408 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.3112, allocations: 19.86 kB / 0.9586 GB, free: 388 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.3135, allocations: 1.096 MB / 0.9596 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.3135, allocations: 3.938 kB / 0.9597 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3135, allocations: 3.938 kB / 0.9597 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3135, allocations: 0 / 0.9597 GB, free: 15.27 MB / 0.7481 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.0007999/0.3143, allocations: 0.5186 MB / 0.9602 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3144, allocations: 8.031 kB / 0.9602 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.3145, allocations: 84.12 kB / 0.9603 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3147, allocations: 243.6 kB / 0.9605 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.3148, allocations: 150.9 kB / 0.9606 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.3149, allocations: 154.9 kB / 0.9608 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.315, allocations: 121.1 kB / 0.9609 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.3151, allocations: 75.28 kB / 0.961 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.3152, allocations: 150.6 kB / 0.9611 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3153, allocations: 150.6 kB / 0.9612 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.3154, allocations: 158.5 kB / 0.9614 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3158, allocations: 469.9 kB / 0.9618 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3159, allocations: 169.2 kB / 0.962 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.316, allocations: 84.14 kB / 0.9621 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.316, allocations: 75.28 kB / 0.9622 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.3161, allocations: 117.7 kB / 0.9623 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3161, allocations: 4 kB / 0.9623 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.3162, allocations: 37.59 kB / 0.9623 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.3163, allocations: 126.7 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3165, allocations: 132.2 kB / 0.9626 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3165, allocations: 25.7 kB / 0.9626 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.3166, allocations: 92.14 kB / 0.9627 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3166, allocations: 0 / 0.9627 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3166, allocations: 17.72 kB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3168, allocations: 322.8 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.3168, allocations: 4 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.3168, allocations: 4 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.3169, allocations: 20.8 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3169, allocations: 0 / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.3171, allocations: 61.59 kB / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.3171, allocations: 4 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.3172, allocations: 4 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3172, allocations: 0 / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3172, allocations: 8 kB / 0.9631 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3172, allocations: 0 / 0.9631 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.3173, allocations: 3.906 kB / 0.9631 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3173, allocations: 4 kB / 0.9631 GB, free: 11.5 MB / 0.7481 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 0.000109/0.3174, allocations: 181.1 kB / 0.9633 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.3175, allocations: 116.8 kB / 0.9634 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.3176, allocations: 108.9 kB / 0.9635 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/0.3176, allocations: 180.3 kB / 0.9637 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.07e-05/0.3177, allocations: 188.1 kB / 0.9638 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001287/0.3179, allocations: 180.2 kB / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.3182, allocations: 417.2 kB / 0.9644 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-05/0.3183, allocations: 104.9 kB / 0.9645 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.3183, allocations: 108.9 kB / 0.9646 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.3184, allocations: 176.3 kB / 0.9648 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.3186, allocations: 184.2 kB / 0.965 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-05/0.3187, allocations: 180.2 kB / 0.9651 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-05/0.3187, allocations: 180.3 kB / 0.9653 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3189, allocations: 311.7 kB / 0.9656 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3191, allocations: 193.9 kB / 0.9658 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.3192, allocations: 184.2 kB / 0.966 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3193, allocations: 105 kB / 0.9661 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.3194, allocations: 180.2 kB / 0.9662 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.3195, allocations: 105 kB / 0.9663 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.441e-05/0.3196, allocations: 105.4 kB / 0.9664 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3196, allocations: 0 / 0.9664 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001043/0.3206, allocations: 279.8 kB / 0.9667 GB, free: 7.586 MB / 0.7481 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.001408/0.3221, allocations: 0.537 MB / 0.9672 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3222, allocations: 37.7 kB / 0.9673 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.3222, allocations: 0 / 0.9673 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.3222, allocations: 3.938 kB / 0.9673 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.3229, allocations: 475.6 kB / 0.9677 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3234, allocations: 237.4 kB / 0.9679 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3237, allocations: 0.6844 MB / 0.9686 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.3237, allocations: 7.922 kB / 0.9686 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.3238, allocations: 11.44 kB / 0.9686 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.3238, allocations: 0 / 0.9686 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of Templates: time 0.01375/0.3375, allocations: 5.607 MB / 0.9741 GB, free: 15.98 MB / 0.7637 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 -s cvode -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