Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001528/0.001528, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001676/0.001676, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.572/1.572, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.937/2.937, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/3.995e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003008/0.003048, allocations: 1.434 MB / 0.9829 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005172/0.00822, allocations: 2.637 MB / 0.9855 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.008273, allocations: 0 / 0.9855 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.008295, allocations: 7.938 kB / 0.9855 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.008388, allocations: 15.84 kB / 0.9855 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.0131, allocations: 1.627 MB / 0.9871 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.01321, allocations: 43.61 kB / 0.9872 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.01327, allocations: 12 kB / 0.9872 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.01331, allocations: 11.98 kB / 0.9872 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.545e-05/0.01335, allocations: 15.92 kB / 0.9872 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.01337, allocations: 4 kB / 0.9872 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.01627, allocations: 1.45 MB / 0.9886 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.0163, allocations: 11.92 kB / 0.9886 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.01634, allocations: 8 kB / 0.9886 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.01885, allocations: 1.239 MB / 0.9898 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01885, allocations: 3.938 kB / 0.9898 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.482e-06/0.01885, allocations: 8 kB / 0.9899 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.01886, allocations: 0 / 0.9899 GB, free: 2.289 MB / 0.8887 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.000851/0.01971, allocations: 460.1 kB / 0.9903 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.01975, allocations: 12.03 kB / 0.9903 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.01983, allocations: 80.17 kB / 0.9904 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.02001, allocations: 202.4 kB / 0.9906 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.0201, allocations: 154.9 kB / 0.9907 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.02018, allocations: 154.9 kB / 0.9909 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.02028, allocations: 105.5 kB / 0.991 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.02032, allocations: 75.47 kB / 0.991 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.0204, allocations: 154.7 kB / 0.9912 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.02047, allocations: 158.5 kB / 0.9913 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.73e-05/0.02054, allocations: 150.6 kB / 0.9915 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.02089, allocations: 417.6 kB / 0.9919 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.02102, allocations: 165.1 kB / 0.992 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.02107, allocations: 80.14 kB / 0.9921 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.02111, allocations: 79.28 kB / 0.9922 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.02118, allocations: 117.8 kB / 0.9923 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.02118, allocations: 0 / 0.9923 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.072e-05/0.02127, allocations: 33.66 kB / 0.9923 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.02135, allocations: 130.6 kB / 0.9925 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.02151, allocations: 135.2 kB / 0.9926 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.02153, allocations: 25.7 kB / 0.9926 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.0216, allocations: 92.14 kB / 0.9927 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.0216, allocations: 0 / 0.9927 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.02165, allocations: 21.7 kB / 0.9927 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.0218, allocations: 310.8 kB / 0.993 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.02183, allocations: 4 kB / 0.993 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.02185, allocations: 8 kB / 0.993 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.0219, allocations: 20.81 kB / 0.9931 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0219, allocations: 0 / 0.9931 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/0.02205, allocations: 49.66 kB / 0.9931 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.02207, allocations: 8.062 kB / 0.9931 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.0221, allocations: 8 kB / 0.9931 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.02211, allocations: 3.938 kB / 0.9931 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.02211, allocations: 0 / 0.9931 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.02212, allocations: 3.984 kB / 0.9931 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.02215, allocations: 3.953 kB / 0.9931 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.02216, allocations: 4 kB / 0.9931 GB, free: 14.75 MB / 0.9044 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.0001422/0.0223, allocations: 181.1 kB / 0.9933 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.02239, allocations: 108.9 kB / 0.9934 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.02245, allocations: 116.7 kB / 0.9935 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.842e-05/0.02254, allocations: 192.1 kB / 0.9937 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/0.02263, allocations: 180.2 kB / 0.9939 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.469e-05/0.02273, allocations: 180.3 kB / 0.994 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.02299, allocations: 364.8 kB / 0.9944 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-05/0.02304, allocations: 105 kB / 0.9945 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.02309, allocations: 104.9 kB / 0.9946 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-05/0.02318, allocations: 180.2 kB / 0.9948 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.02328, allocations: 180.3 kB / 0.9949 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.023e-05/0.02337, allocations: 184.2 kB / 0.9951 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.872e-05/0.02346, allocations: 184.2 kB / 0.9953 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.02366, allocations: 315.7 kB / 0.9956 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.02372, allocations: 108.9 kB / 0.9957 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.02382, allocations: 180.2 kB / 0.9959 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02393, allocations: 105 kB / 0.996 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.02403, allocations: 192.1 kB / 0.9961 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.02409, allocations: 101.3 kB / 0.9962 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.457e-05/0.02416, allocations: 97.61 kB / 0.9963 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.02416, allocations: 0 / 0.9963 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009542/0.02511, allocations: 291 kB / 0.9966 GB, free: 10.99 MB / 0.9044 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.001508/0.02662, allocations: 0.5759 MB / 0.9972 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.02674, allocations: 41.62 kB / 0.9972 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02674, allocations: 0 / 0.9972 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.02674, allocations: 0 / 0.9972 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.02721, allocations: 463.7 kB / 0.9977 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.02762, allocations: 234.1 kB / 0.9979 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.159e-05/0.02769, allocations: 67.41 kB / 0.9979 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.0277, allocations: 0 / 0.9979 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.02773, allocations: 12.5 kB / 0.998 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.02773, allocations: 0 / 0.998 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of Templates: time 0.01276/0.04049, allocations: 5.734 MB / 1.004 GB, free: 3.871 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.82686860486865]