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.001865/0.001865, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002262/0.002262, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.727/2.727, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 1.954e-06/1.954e-06, allocations: 0 / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.233e-05/4.428e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00343/0.003474, allocations: 1.455 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006074/0.009548, allocations: 2.675 MB / 0.7905 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.009595, allocations: 0 / 0.7905 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.009627, allocations: 13.58 kB / 0.7905 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.009702, allocations: 11.86 kB / 0.7905 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.01475, allocations: 1.638 MB / 0.7921 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.01488, allocations: 51.66 kB / 0.7922 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.01493, allocations: 4.562 kB / 0.7922 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.01499, allocations: 20.48 kB / 0.7922 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.01503, allocations: 8 kB / 0.7922 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.01504, allocations: 4.75 kB / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.01806, allocations: 1.487 MB / 0.7937 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.01808, allocations: 7.938 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.01812, allocations: 12.86 kB / 0.7937 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.02072, allocations: 1.278 MB / 0.7949 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.02072, allocations: 1.719 kB / 0.7949 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/0.02072, allocations: 0 / 0.7949 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.02073, allocations: 0 / 0.7949 GB, free: 4.07 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.0009847/0.02172, allocations: 472 kB / 0.7954 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.02177, allocations: 11.97 kB / 0.7954 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.02188, allocations: 84.8 kB / 0.7955 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.02208, allocations: 189 kB / 0.7957 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-05/0.02218, allocations: 155.8 kB / 0.7958 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.02227, allocations: 154.9 kB / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.02238, allocations: 102.5 kB / 0.7961 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.02243, allocations: 75.47 kB / 0.7961 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.02252, allocations: 159.9 kB / 0.7963 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/0.02289, allocations: 150.6 kB / 0.7964 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.02299, allocations: 158.5 kB / 0.7966 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.02339, allocations: 417.6 kB / 0.797 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.02353, allocations: 170 kB / 0.7971 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.02358, allocations: 80.14 kB / 0.7972 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.02363, allocations: 77.5 kB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/0.02371, allocations: 113.8 kB / 0.7974 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.02372, allocations: 3.938 kB / 0.7974 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.02383, allocations: 33.64 kB / 0.7974 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.02393, allocations: 134.6 kB / 0.7976 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.02412, allocations: 129.6 kB / 0.7977 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.02414, allocations: 25.7 kB / 0.7977 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.02422, allocations: 92.14 kB / 0.7978 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.02422, allocations: 0 / 0.7978 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.02428, allocations: 25.45 kB / 0.7978 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.02447, allocations: 314.8 kB / 0.7981 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.0245, allocations: 8 kB / 0.7981 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.851e-05/0.02452, allocations: 3.938 kB / 0.7981 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/0.02457, allocations: 24.78 kB / 0.7982 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02458, allocations: 0 / 0.7982 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.02476, allocations: 53.72 kB / 0.7982 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.02478, allocations: 4 kB / 0.7982 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.0248, allocations: 4 kB / 0.7982 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.02483, allocations: 3.938 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.02483, allocations: 0.9375 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.02483, allocations: 0 / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.02487, allocations: 8.969 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.02488, allocations: 3.984 kB / 0.7982 GB, free: 0.5273 MB / 0.7448 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.0001459/0.02502, allocations: 182.2 kB / 0.7984 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.02511, allocations: 112.9 kB / 0.7985 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.0252, allocations: 112.8 kB / 0.7986 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001264/0.02532, allocations: 181.3 kB / 0.7988 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001193/0.02544, allocations: 188.2 kB / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/0.02555, allocations: 176.3 kB / 0.7991 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.02586, allocations: 369.8 kB / 0.7995 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-05/0.02593, allocations: 101 kB / 0.7996 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.026, allocations: 104.9 kB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.0261, allocations: 184.8 kB / 0.7999 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.0262, allocations: 176.9 kB / 0.8 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/0.0263, allocations: 184.2 kB / 0.8002 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001018/0.0264, allocations: 189.6 kB / 0.8004 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.02662, allocations: 307.7 kB / 0.8007 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.02669, allocations: 108.9 kB / 0.8008 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.02681, allocations: 185.3 kB / 0.801 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.02692, allocations: 105.3 kB / 0.8011 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.02703, allocations: 184.1 kB / 0.8012 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.02709, allocations: 110.1 kB / 0.8013 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.454e-05/0.02718, allocations: 105.4 kB / 0.8014 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02718, allocations: 0 / 0.8014 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009724/0.02815, allocations: 299.6 kB / 0.8017 GB, free: 12.76 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.001666/0.02981, allocations: 0.5932 MB / 0.8023 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.02993, allocations: 33.7 kB / 0.8023 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.02994, allocations: 7.938 kB / 0.8023 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.02994, allocations: 0 / 0.8023 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.03052, allocations: 467.7 kB / 0.8028 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.03095, allocations: 235.5 kB / 0.803 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.441e-05/0.03104, allocations: 71.33 kB / 0.8031 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.03106, allocations: 3.938 kB / 0.8031 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.03108, allocations: 8.5 kB / 0.8031 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.03109, allocations: 4 kB / 0.8031 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.01397/0.04506, allocations: 5.936 MB / 0.8089 GB, free: 5.414 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] 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.33887661609333]