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.InternalResistancesOneUTubeNegative.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.001915/0.001915, allocations: 87.69 kB / 20.24 MB, free: 4.176 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.002024/0.002024, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.574 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 3.008/3.008, allocations: 359 MB / 0.6048 GB, free: 10.94 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.7865 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.94e-05, allocations: 6.25 kB / 0.7865 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002817/0.002856, allocations: 1.469 MB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.008095, allocations: 2.789 MB / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.008134, allocations: 0 / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.008158, allocations: 7.922 kB / 0.7906 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.008232, allocations: 11.86 kB / 0.7906 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.01273, allocations: 1.627 MB / 0.7922 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.01284, allocations: 45.06 kB / 0.7923 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.01288, allocations: 3.984 kB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.01294, allocations: 15.98 kB / 0.7923 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.01297, allocations: 15.94 kB / 0.7923 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.01298, allocations: 1.75 kB / 0.7923 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.0155, allocations: 1.454 MB / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.01552, allocations: 7.938 kB / 0.7937 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.01555, allocations: 12.91 kB / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.01747, allocations: 1.239 MB / 0.795 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.01748, allocations: 0 / 0.795 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01748, allocations: 0.8438 kB / 0.795 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.01749, allocations: 0 / 0.795 GB, free: 4.008 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.0007562/0.01824, allocations: 0.5579 MB / 0.7955 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01828, allocations: 8.031 kB / 0.7955 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.01839, allocations: 124.1 kB / 0.7956 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.01859, allocations: 243.7 kB / 0.7959 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.01871, allocations: 243.3 kB / 0.7961 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.01884, allocations: 251.2 kB / 0.7963 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.01895, allocations: 145.5 kB / 0.7965 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.01901, allocations: 121.2 kB / 0.7966 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.01913, allocations: 242.5 kB / 0.7968 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.01925, allocations: 242.4 kB / 0.7971 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.01938, allocations: 238.4 kB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.01982, allocations: 0.5875 MB / 0.7979 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.02009, allocations: 270.2 kB / 0.7981 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.02016, allocations: 126.9 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.02023, allocations: 126.6 kB / 0.7984 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/0.02032, allocations: 156.6 kB / 0.7985 GB, free: 252 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.02032, allocations: 0 / 0.7985 GB, free: 252 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.235e-05/0.02041, allocations: 33.64 kB / 0.7985 GB, free: 212 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.02051, allocations: 174.5 kB / 0.7987 GB, free: 24 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.02075, allocations: 196.1 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.02078, allocations: 25.7 kB / 0.7989 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.02087, allocations: 142.9 kB / 0.7991 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.02087, allocations: 0 / 0.7991 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.02092, allocations: 20 kB / 0.7991 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002628/0.02118, allocations: 0.4923 MB / 0.7996 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.02121, allocations: 5.844 kB / 0.7996 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.02123, allocations: 0 / 0.7996 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.02128, allocations: 19.69 kB / 0.7996 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.02128, allocations: 0 / 0.7996 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001556/0.02143, allocations: 50.28 kB / 0.7996 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02145, allocations: 4 kB / 0.7996 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.02147, allocations: 6.688 kB / 0.7996 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.02149, allocations: 0 / 0.7996 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-06/0.02149, allocations: 3.938 kB / 0.7996 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.0215, allocations: 0 / 0.7996 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.02152, allocations: 3.953 kB / 0.7996 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.02153, allocations: 0 / 0.7996 GB, free: 15.01 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.000195/0.02172, allocations: 287.8 kB / 0.7999 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.02183, allocations: 159.5 kB / 0.8001 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.68e-05/0.02193, allocations: 152.6 kB / 0.8002 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001321/0.02206, allocations: 268.1 kB / 0.8005 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001397/0.0222, allocations: 279.9 kB / 0.8007 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001313/0.02233, allocations: 264.1 kB / 0.801 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.02269, allocations: 0.4961 MB / 0.8015 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.57e-05/0.02278, allocations: 156.8 kB / 0.8016 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.02286, allocations: 145.8 kB / 0.8018 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.02299, allocations: 272 kB / 0.802 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.02313, allocations: 273.1 kB / 0.8023 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001444/0.02327, allocations: 268.1 kB / 0.8025 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001429/0.02341, allocations: 268 kB / 0.8028 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.02371, allocations: 449 kB / 0.8032 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.116e-05/0.0238, allocations: 156.8 kB / 0.8034 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.02394, allocations: 268.1 kB / 0.8036 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.02406, allocations: 150 kB / 0.8038 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.0242, allocations: 272 kB / 0.804 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.02427, allocations: 148.8 kB / 0.8042 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001074/0.02438, allocations: 143.8 kB / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02438, allocations: 0 / 0.8043 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000845/0.02523, allocations: 291.5 kB / 0.8046 GB, free: 9.754 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.001374/0.0266, allocations: 0.6137 MB / 0.8052 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.02673, allocations: 45.39 kB / 0.8052 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02674, allocations: 0 / 0.8052 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.02674, allocations: 0 / 0.8052 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.02738, allocations: 0.7178 MB / 0.8059 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.0278, allocations: 281.2 kB / 0.8062 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.02787, allocations: 67.33 kB / 0.8063 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.02789, allocations: 0 / 0.8063 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.02791, allocations: 12.5 kB / 0.8063 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.02791, allocations: 0 / 0.8063 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of Templates: time 0.01209/0.04, allocations: 5.816 MB / 0.812 GB, free: 2.199 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 8.780650029075332]