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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008083/0.008083, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001802/0.001802, allocations: 198.9 kB / 16.67 MB, free: 5.98 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.14 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 157.4 MB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002537/0.2698, allocations: 1.423 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.274, allocations: 2.86 MB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.2741, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.2742, allocations: 7.922 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.2742, allocations: 11.86 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.2781, allocations: 1.562 MB / 1.214 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.2782, allocations: 35.73 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.2783, allocations: 7.938 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.2783, allocations: 15.94 kB / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.2783, allocations: 19.86 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2784, allocations: 0 / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.2805, allocations: 1.49 MB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2806, allocations: 3.984 kB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.2806, allocations: 19.88 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.2822, allocations: 1.08 MB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2822, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2822, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2822, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 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.0007068/0.2829, allocations: 0.5185 MB / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2829, allocations: 8.625 kB / 1.217 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.283, allocations: 80.22 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2832, allocations: 260.7 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.2832, allocations: 154.9 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.2833, allocations: 150.9 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.999e-05/0.2834, allocations: 109 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2834, allocations: 75.28 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.2834, allocations: 150.6 kB / 1.218 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.2835, allocations: 150.6 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.2835, allocations: 162.5 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.2838, allocations: 461.9 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.2839, allocations: 177.1 kB / 1.219 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.2839, allocations: 80.14 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.284, allocations: 83.22 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.284, allocations: 109.8 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.284, allocations: 0 / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.22e-05/0.2841, allocations: 29.7 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2841, allocations: 130.6 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2843, allocations: 135.5 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2843, allocations: 29.7 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.2844, allocations: 92.12 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2844, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.2844, allocations: 17.72 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.2845, allocations: 314.8 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.2845, allocations: 4 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.2846, allocations: 7.984 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.2846, allocations: 8.859 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2846, allocations: 4.031 kB / 1.22 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001222/0.2847, allocations: 53.55 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2848, allocations: 4 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.2848, allocations: 11.92 kB / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2848, allocations: 0 / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2848, allocations: 0 / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2848, allocations: 0 / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.2848, allocations: 7.875 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2849, allocations: 4 kB / 1.22 GB, free: 13.23 MB / 0.9825 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.239e-05/0.285, allocations: 185.2 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.285, allocations: 116.8 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.2851, allocations: 112.8 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/0.2851, allocations: 180.3 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.866e-05/0.2852, allocations: 180.3 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/0.2853, allocations: 184.2 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2855, allocations: 417.2 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.2855, allocations: 112.8 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.2856, allocations: 101 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-05/0.2856, allocations: 180.3 kB / 1.221 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.2857, allocations: 180.2 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.164e-05/0.2857, allocations: 180.3 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.602e-05/0.2858, allocations: 192.2 kB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2859, allocations: 303.8 kB / 1.222 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.286, allocations: 193.9 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.2861, allocations: 180.2 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.2861, allocations: 112.9 kB / 1.223 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.2862, allocations: 176.3 kB / 1.223 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.2862, allocations: 101 kB / 1.223 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.2863, allocations: 101.5 kB / 1.223 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2863, allocations: 3.938 kB / 1.223 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007723/0.2871, allocations: 271.8 kB / 1.223 GB, free: 9.32 MB / 0.9825 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.001128/0.2882, allocations: 0.5242 MB / 1.224 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.2883, allocations: 37.7 kB / 1.224 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2883, allocations: 0 / 1.224 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.2884, allocations: 0 / 1.224 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2887, allocations: 480.1 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.2891, allocations: 240 kB / 1.224 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2893, allocations: 0.6846 MB / 1.225 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.2893, allocations: 3.906 kB / 1.225 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.2894, allocations: 11.44 kB / 1.225 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2894, allocations: 4 kB / 1.225 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.009628/0.299, allocations: 5.471 MB / 1.23 GB, free: 1.867 MB / 0.9825 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 -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/jenkins/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