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.001773/0.001773, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.002131/0.002131, allocations: 216.7 kB / 23.01 MB, free: 5.113 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.914/2.914, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.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: 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.002116/0.002116, allocations: 70.89 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4072, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003464/0.4107, allocations: 1.474 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005335/0.416, allocations: 2.998 MB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.4161, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.4161, allocations: 7.875 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.4162, allocations: 19.84 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.4206, allocations: 1.697 MB / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.4207, allocations: 39.75 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.4207, allocations: 7.984 kB / 1.291 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.4208, allocations: 15.94 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.4208, allocations: 19.88 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.4208, allocations: 0 / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.4235, allocations: 1.767 MB / 1.293 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.4236, allocations: 3.984 kB / 1.293 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.4236, allocations: 19.88 kB / 1.293 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.4252, allocations: 1.146 MB / 1.294 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4252, allocations: 0 / 1.294 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4253, allocations: 0 / 1.294 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4253, allocations: 4 kB / 1.294 GB, free: 1.969 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.0006668/0.4259, allocations: 480 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.426, allocations: 12.02 kB / 1.294 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.4261, allocations: 88.17 kB / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.4262, allocations: 193.7 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.4263, allocations: 150.9 kB / 1.295 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.4264, allocations: 154.9 kB / 1.295 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.337e-05/0.4265, allocations: 105.1 kB / 1.295 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.4265, allocations: 79.28 kB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.4266, allocations: 154.6 kB / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.4266, allocations: 150.6 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.4267, allocations: 150.6 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.4271, allocations: 444.9 kB / 1.296 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4272, allocations: 165.1 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.4272, allocations: 80.14 kB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.4273, allocations: 83.27 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/0.4273, allocations: 113.8 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4273, allocations: 3.938 kB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.135e-05/0.4274, allocations: 41.59 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.4275, allocations: 126.7 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4277, allocations: 136.5 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4277, allocations: 25.7 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.4277, allocations: 100.1 kB / 1.297 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.4277, allocations: 0 / 1.297 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.4278, allocations: 21.72 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4279, allocations: 314.8 kB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.428, allocations: 7.984 kB / 1.297 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.428, allocations: 4 kB / 1.297 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.428, allocations: 16.86 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.428, allocations: 0 / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001331/0.4282, allocations: 57.53 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4282, allocations: 4 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.4282, allocations: 15.98 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4282, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.4282, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4282, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.4282, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4283, allocations: 4 kB / 1.297 GB, free: 14.36 MB / 0.9981 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.0001174/0.4284, allocations: 181.1 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.4284, allocations: 112.9 kB / 1.297 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.4285, allocations: 120.8 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-05/0.4286, allocations: 180.3 kB / 1.298 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-05/0.4287, allocations: 184.3 kB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/0.4287, allocations: 180.3 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.429, allocations: 384.3 kB / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.429, allocations: 112.8 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.4291, allocations: 105 kB / 1.299 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.4292, allocations: 184.2 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.4292, allocations: 176.3 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.285e-05/0.4293, allocations: 176.3 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.236e-05/0.4294, allocations: 184.2 kB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4296, allocations: 315.7 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4296, allocations: 108.9 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.4297, allocations: 192.2 kB / 1.3 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.4298, allocations: 101 kB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.4299, allocations: 184.3 kB / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.43, allocations: 104.9 kB / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.43, allocations: 103.3 kB / 1.3 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.43, allocations: 0 / 1.3 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000862/0.4309, allocations: 294.9 kB / 1.301 GB, free: 10.56 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.001123/0.432, allocations: 0.551 MB / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4322, allocations: 37.7 kB / 1.301 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4322, allocations: 0 / 1.301 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.4322, allocations: 0 / 1.301 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.4326, allocations: 477.3 kB / 1.302 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.433, allocations: 270 kB / 1.302 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4333, allocations: 0.6846 MB / 1.302 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.4334, allocations: 11.44 kB / 1.303 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.4334, allocations: 0 / 1.303 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of Templates: time 0.009407/0.4428, allocations: 4.918 MB / 1.307 GB, free: 3.555 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 13.439594018011121]