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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001009/0.001009, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.389/2.389, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 70.77 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00273/0.3153, allocations: 1.437 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.3195, allocations: 2.856 MB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.3195, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3196, allocations: 11.92 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.3197, allocations: 15.86 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.3235, allocations: 1.557 MB / 1.033 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.3236, allocations: 43.67 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.3237, allocations: 7.938 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.3237, allocations: 15.92 kB / 1.033 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.3237, allocations: 19.92 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3238, allocations: 0 / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.326, allocations: 1.478 MB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.326, allocations: 15.92 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.326, allocations: 11.94 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3276, allocations: 1.088 MB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3276, allocations: 0 / 1.035 GB, free: 9.441 MB / 0.8106 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.0005996/0.3282, allocations: 0.5069 MB / 1.036 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3283, allocations: 12.03 kB / 1.036 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.3283, allocations: 80.12 kB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3285, allocations: 251.5 kB / 1.036 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.3285, allocations: 154.9 kB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.3286, allocations: 154.9 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.876e-05/0.3286, allocations: 109 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3287, allocations: 75.28 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.3287, allocations: 154.6 kB / 1.037 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.3288, allocations: 150.6 kB / 1.037 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.3288, allocations: 158.5 kB / 1.037 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.3291, allocations: 457.9 kB / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.3292, allocations: 189.1 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.3292, allocations: 84.14 kB / 1.038 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3292, allocations: 75.28 kB / 1.038 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.3293, allocations: 113.8 kB / 1.038 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3293, allocations: 0 / 1.038 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.096e-05/0.3294, allocations: 33.61 kB / 1.038 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3294, allocations: 134.6 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3296, allocations: 128.2 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3296, allocations: 25.7 kB / 1.038 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.3296, allocations: 96.12 kB / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3297, allocations: 0 / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3297, allocations: 13.72 kB / 1.038 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.3298, allocations: 314.8 kB / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.3298, allocations: 4 kB / 1.038 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.3298, allocations: 15.98 kB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.3299, allocations: 8.859 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3299, allocations: 0 / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.33, allocations: 53.55 kB / 1.039 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.33, allocations: 4 kB / 1.039 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.3301, allocations: 11.92 kB / 1.039 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3301, allocations: 0 / 1.039 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.3301, allocations: 0 / 1.039 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3301, allocations: 3.938 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.3301, allocations: 3.938 kB / 1.039 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3301, allocations: 8.062 kB / 1.039 GB, free: 5.688 MB / 0.8106 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.0001025/0.3303, allocations: 185.1 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.3303, allocations: 112.8 kB / 1.039 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.3304, allocations: 116.8 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.3304, allocations: 180.3 kB / 1.039 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.763e-05/0.3305, allocations: 180.3 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.875e-05/0.3306, allocations: 184.2 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3308, allocations: 417.2 kB / 1.04 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.3308, allocations: 112.8 kB / 1.04 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.3309, allocations: 101 kB / 1.04 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-05/0.331, allocations: 176.3 kB / 1.04 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.331, allocations: 188.2 kB / 1.04 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-05/0.3311, allocations: 176.3 kB / 1.041 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.3312, allocations: 184.2 kB / 1.041 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.3313, allocations: 307.7 kB / 1.041 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.3314, allocations: 190 kB / 1.041 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.3314, allocations: 188.2 kB / 1.041 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.3315, allocations: 108.9 kB / 1.042 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.3316, allocations: 180.3 kB / 1.042 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3316, allocations: 101 kB / 1.042 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.3317, allocations: 99.17 kB / 1.042 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3317, allocations: 3.938 kB / 1.042 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006799/0.3324, allocations: 283.8 kB / 1.042 GB, free: 1.77 MB / 0.8106 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.0009782/0.3333, allocations: 0.5214 MB / 1.043 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.3334, allocations: 33.7 kB / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3334, allocations: 0 / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.3335, allocations: 0 / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3338, allocations: 472.2 kB / 1.043 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3342, allocations: 228.1 kB / 1.043 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3344, allocations: 0.6883 MB / 1.044 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.3345, allocations: 4 kB / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.3345, allocations: 11.44 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3345, allocations: 0 / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.03227/0.3668, allocations: 5.467 MB / 1.049 GB, free: 10.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x