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.001854/0.001854, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.0023/0.0023, allocations: 213.6 kB / 22.99 MB, free: 4.988 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.42 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002646/0.3165, allocations: 1.436 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004424/0.3209, allocations: 2.642 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.321, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.321, allocations: 7.922 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.321, allocations: 19.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.3248, allocations: 1.625 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.3249, allocations: 43.67 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.3249, allocations: 8 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.325, allocations: 11.94 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.325, allocations: 19.92 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.325, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.3273, allocations: 1.548 MB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.3273, allocations: 11.92 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.3273, allocations: 15.88 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.3288, allocations: 1.079 MB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3288, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3288, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3288, allocations: 4 kB / 1.335 GB, free: 8.508 MB / 1.029 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.0006118/0.3294, allocations: 468 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3294, allocations: 12.03 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.3295, allocations: 80.17 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3297, allocations: 197.8 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.3297, allocations: 154.9 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.3298, allocations: 154.9 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.928e-05/0.3299, allocations: 105.1 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.3299, allocations: 75.28 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.33, allocations: 154.6 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.33, allocations: 154.6 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.3301, allocations: 150.6 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.3304, allocations: 413.5 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3305, allocations: 173.1 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.3306, allocations: 84.12 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.3306, allocations: 79.28 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.3307, allocations: 109.8 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3307, allocations: 0 / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.79e-05/0.3307, allocations: 33.59 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.3308, allocations: 130.6 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3309, allocations: 131.5 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.331, allocations: 29.7 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.331, allocations: 88.14 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.331, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.3311, allocations: 21.7 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3312, allocations: 314.9 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.3312, allocations: 8 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.3313, allocations: 11.98 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.3313, allocations: 12.89 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3313, allocations: 0 / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001307/0.3314, allocations: 53.59 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3314, allocations: 12 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3315, allocations: 7.984 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3315, allocations: 0 / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3315, allocations: 0 / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3315, allocations: 0 / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.3315, allocations: 3.938 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3315, allocations: 0 / 1.339 GB, free: 4.973 MB / 1.029 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.0001192/0.3316, allocations: 191.2 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.3317, allocations: 112.9 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.3318, allocations: 116.7 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/0.3319, allocations: 180.3 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.34e-05/0.3319, allocations: 180.3 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/0.332, allocations: 180.2 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3323, allocations: 364.9 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-05/0.3323, allocations: 104.9 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.3324, allocations: 113 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.853e-05/0.3325, allocations: 176.3 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.3325, allocations: 184.1 kB / 1.341 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.74e-05/0.3326, allocations: 180.3 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.434e-05/0.3327, allocations: 184.2 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3329, allocations: 311.7 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.3329, allocations: 105 kB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.333, allocations: 192.2 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.3331, allocations: 108.9 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.3332, allocations: 180.3 kB / 1.342 GB, free: 1.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.3333, allocations: 104.9 kB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.11e-05/0.3333, allocations: 97.14 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007089/0.3341, allocations: 295 kB / 1.342 GB, free: 1.199 MB / 1.029 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.001054/0.3351, allocations: 0.5418 MB / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.3352, allocations: 45.69 kB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3352, allocations: 0 / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.3352, allocations: 0 / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3356, allocations: 459.7 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.336, allocations: 237.6 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.885e-05/0.336, allocations: 71.39 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.336, allocations: 0 / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.3361, allocations: 11.44 kB / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3361, allocations: 0 / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of Templates: time 0.01042/0.3465, allocations: 5.766 MB / 1.349 GB, free: 10.07 MB / 1.045 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 -s gbode -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/jenkins1/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.861617980001029]