Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002757/0.002757, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003311/0.003311, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.907/2.907, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.919e-06, allocations: 3.984 kB / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.857e-05, allocations: 4.625 kB / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002968/0.003007, allocations: 1.477 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.008596, allocations: 2.823 MB / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.008642, allocations: 0 / 0.7907 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.008668, allocations: 7.922 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.008742, allocations: 16.58 kB / 0.7907 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.01335, allocations: 1.647 MB / 0.7923 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.01347, allocations: 43.67 kB / 0.7923 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.01351, allocations: 4.938 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.01356, allocations: 19.92 kB / 0.7924 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.0136, allocations: 8.812 kB / 0.7924 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.01361, allocations: 4 kB / 0.7924 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.01632, allocations: 1.49 MB / 0.7938 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.01634, allocations: 9.281 kB / 0.7938 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.01637, allocations: 11.98 kB / 0.7939 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.01858, allocations: 1.274 MB / 0.7951 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01858, allocations: 0 / 0.7951 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01858, allocations: 0.9062 kB / 0.7951 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.01859, allocations: 0 / 0.7951 GB, free: 3.883 MB / 0.7448 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.001129/0.01972, allocations: 0.5705 MB / 0.7957 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.01976, allocations: 8.031 kB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01987, allocations: 136 kB / 0.7958 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.02008, allocations: 235.8 kB / 0.796 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.02022, allocations: 242.8 kB / 0.7963 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.02036, allocations: 238.8 kB / 0.7965 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.02047, allocations: 148.9 kB / 0.7966 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.827e-05/0.02054, allocations: 119.4 kB / 0.7967 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.02068, allocations: 246.5 kB / 0.797 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.02081, allocations: 238.4 kB / 0.7972 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.02095, allocations: 242.3 kB / 0.7974 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.02146, allocations: 0.5837 MB / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.02166, allocations: 265.4 kB / 0.7983 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.02174, allocations: 130.9 kB / 0.7984 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.02181, allocations: 119.2 kB / 0.7985 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.02192, allocations: 157.2 kB / 0.7986 GB, free: 124 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.02192, allocations: 0 / 0.7986 GB, free: 124 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001158/0.02204, allocations: 34.09 kB / 0.7987 GB, free: 84 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.02219, allocations: 183.1 kB / 0.7989 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.02242, allocations: 195.7 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.02244, allocations: 26.27 kB / 0.7991 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02254, allocations: 140.3 kB / 0.7992 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.02255, allocations: 3.938 kB / 0.7992 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.02259, allocations: 23.36 kB / 0.7992 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.02288, allocations: 0.4924 MB / 0.7997 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.0229, allocations: 0.5312 kB / 0.7997 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.02292, allocations: 4.906 kB / 0.7997 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.02299, allocations: 27.61 kB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02299, allocations: 0 / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.02317, allocations: 50.31 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.02319, allocations: 4.656 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.02322, allocations: 4 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.02324, allocations: 2.156 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-06/0.02325, allocations: 3.938 kB / 0.7998 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.02325, allocations: 7.984 kB / 0.7998 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.02328, allocations: 0 / 0.7998 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.02329, allocations: 0 / 0.7998 GB, free: 14.86 MB / 0.7605 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.0001893/0.02348, allocations: 278.9 kB / 0.8001 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.02359, allocations: 156.8 kB / 0.8002 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.02369, allocations: 152.7 kB / 0.8004 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001525/0.02384, allocations: 272.1 kB / 0.8006 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001679/0.02401, allocations: 276 kB / 0.8009 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000148/0.02415, allocations: 268.1 kB / 0.8011 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.02452, allocations: 0.496 MB / 0.8016 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.532e-05/0.02461, allocations: 148.9 kB / 0.8018 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.02469, allocations: 152.9 kB / 0.8019 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.02484, allocations: 272.9 kB / 0.8022 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.02498, allocations: 264.1 kB / 0.8024 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004294/0.02541, allocations: 273.1 kB / 0.8027 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001415/0.02555, allocations: 264.1 kB / 0.8029 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.02585, allocations: 459.8 kB / 0.8034 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.02593, allocations: 149.9 kB / 0.8035 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.0261, allocations: 272 kB / 0.8038 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.02622, allocations: 144.9 kB / 0.8039 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.02637, allocations: 277 kB / 0.8042 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.02645, allocations: 148.9 kB / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001147/0.02657, allocations: 149.6 kB / 0.8045 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02657, allocations: 0.7812 kB / 0.8045 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001039/0.02761, allocations: 298.9 kB / 0.8048 GB, free: 9.602 MB / 0.7605 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.001404/0.02901, allocations: 0.6299 MB / 0.8054 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.02914, allocations: 45.39 kB / 0.8054 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02914, allocations: 0 / 0.8054 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.02915, allocations: 7.938 kB / 0.8054 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.02978, allocations: 0.7179 MB / 0.8061 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.03021, allocations: 283 kB / 0.8064 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.03029, allocations: 71.27 kB / 0.8065 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.03031, allocations: 0 / 0.8065 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.03034, allocations: 12.5 kB / 0.8065 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/0.03034, allocations: 0 / 0.8065 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of Templates: time 0.01322/0.04356, allocations: 5.982 MB / 0.8123 GB, free: 1.855 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 8.673590619931929]