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.001684/0.001684, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001904/0.001904, allocations: 217 kB / 22.99 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.803/2.803, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002185/0.002185, allocations: 66.22 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3911, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00336/0.3944, allocations: 1.436 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005225/0.3996, allocations: 2.643 MB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3997, allocations: 4 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.3997, allocations: 0 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.3998, allocations: 19.84 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004876/0.4047, allocations: 1.603 MB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.4048, allocations: 43.72 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.4049, allocations: 7.984 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.4049, allocations: 11.94 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.4049, allocations: 15.88 kB / 1.29 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4049, allocations: 0 / 1.29 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4077, allocations: 1.454 MB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.4077, allocations: 4 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.4077, allocations: 15.88 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.41, allocations: 1.075 MB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.41, allocations: 0 / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.41, allocations: 0 / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.41, allocations: 0 / 1.292 GB, free: 3.547 MB / 0.9825 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.0009044/0.4109, allocations: 468 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.411, allocations: 16.02 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.411, allocations: 80.17 kB / 1.293 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4112, allocations: 195.8 kB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.4113, allocations: 158.9 kB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.4114, allocations: 150.9 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.4114, allocations: 109.1 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.4115, allocations: 75.28 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.4115, allocations: 154.6 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.4116, allocations: 154.6 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.4117, allocations: 154.5 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.412, allocations: 421.4 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4121, allocations: 173.1 kB / 1.294 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.4122, allocations: 84.08 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.4122, allocations: 79.28 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.4123, allocations: 109.8 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4123, allocations: 0 / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.515e-05/0.4124, allocations: 37.53 kB / 1.295 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.4125, allocations: 130.7 kB / 1.295 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4126, allocations: 133.8 kB / 1.295 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4127, allocations: 25.7 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.4127, allocations: 92.12 kB / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4127, allocations: 0 / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.4128, allocations: 17.72 kB / 1.295 GB, free: 436 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4129, allocations: 318.8 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.4129, allocations: 8 kB / 1.295 GB, free: 100 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.413, allocations: 4 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.413, allocations: 12.86 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.413, allocations: 0 / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.4132, allocations: 53.58 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4132, allocations: 10.28 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.4132, allocations: 4 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4132, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4132, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4132, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.4132, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4133, allocations: 4.062 kB / 1.295 GB, free: 4 kB / 0.9825 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.0001416/0.4134, allocations: 189.1 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.4135, allocations: 116.9 kB / 1.296 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.4135, allocations: 108.7 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-05/0.4136, allocations: 180.3 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.614e-05/0.4137, allocations: 188.2 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/0.4138, allocations: 176.3 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.4141, allocations: 364.8 kB / 1.297 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.584e-05/0.4141, allocations: 108.9 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.4142, allocations: 101 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-05/0.4143, allocations: 188.2 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.4143, allocations: 180.2 kB / 1.297 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-05/0.4144, allocations: 184.2 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.231e-05/0.4145, allocations: 184.1 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.4147, allocations: 311.7 kB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4148, allocations: 105 kB / 1.298 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4149, allocations: 184.2 kB / 1.298 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.415, allocations: 108.9 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.4151, allocations: 180.3 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.4151, allocations: 108.9 kB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.4152, allocations: 103.3 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4152, allocations: 0 / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009641/0.4162, allocations: 294.9 kB / 1.299 GB, free: 12.23 MB / 0.9981 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.001471/0.4177, allocations: 0.5384 MB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.4178, allocations: 33.7 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4178, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.4178, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.4183, allocations: 467.7 kB / 1.3 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.4187, allocations: 266.2 kB / 1.3 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.4188, allocations: 63.34 kB / 1.3 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.4188, allocations: 11.44 kB / 1.3 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.4188, allocations: 0 / 1.3 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01013/0.4289, allocations: 4.837 MB / 1.305 GB, free: 5.969 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] 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/jenkins1/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,Rgb,Rgg,time,x [Calling sys.exit(0), Time elapsed: 13.027698889374733]