Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 110.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437.1 MB / 0.7177 GB, free: 4.57 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002664/0.4222, allocations: 1.448 MB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.427, allocations: 2.899 MB / 1.18 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.4271, allocations: 0 / 1.18 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.4272, allocations: 3.938 kB / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.4273, allocations: 19.84 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.4316, allocations: 1.591 MB / 1.182 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.4317, allocations: 47.58 kB / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.4317, allocations: 0 / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.4318, allocations: 19.94 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.579e-05/0.4318, allocations: 23.8 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4318, allocations: 4 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.4343, allocations: 1.529 MB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.4343, allocations: 4 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.4344, allocations: 15.88 kB / 1.183 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.436, allocations: 1.118 MB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.436, allocations: 3.938 kB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.436, allocations: 0 / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.436, allocations: 7.938 kB / 1.184 GB, free: 13.12 MB / 0.9356 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.0007049/0.4367, allocations: 0.5247 MB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4368, allocations: 12.02 kB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.4368, allocations: 84.17 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.437, allocations: 247.6 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.4371, allocations: 150.9 kB / 1.185 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.4372, allocations: 162.9 kB / 1.186 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.4373, allocations: 109.1 kB / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.4373, allocations: 79.22 kB / 1.186 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.4374, allocations: 150.6 kB / 1.186 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.4374, allocations: 150.6 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.4375, allocations: 150.6 kB / 1.186 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4379, allocations: 465.9 kB / 1.187 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.438, allocations: 169.1 kB / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.438, allocations: 84.08 kB / 1.187 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.4381, allocations: 79.28 kB / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.4381, allocations: 117.8 kB / 1.187 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4382, allocations: 0 / 1.187 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.577e-05/0.4382, allocations: 33.66 kB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.4383, allocations: 126.7 kB / 1.187 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.4385, allocations: 132.2 kB / 1.187 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4385, allocations: 25.7 kB / 1.187 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4386, allocations: 96.08 kB / 1.187 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4386, allocations: 0 / 1.187 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.4386, allocations: 21.72 kB / 1.187 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4388, allocations: 322.9 kB / 1.188 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.4388, allocations: 7.938 kB / 1.188 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.4388, allocations: 4 kB / 1.188 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.4389, allocations: 16.86 kB / 1.188 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4389, allocations: 0 / 1.188 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001424/0.439, allocations: 53.7 kB / 1.188 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4391, allocations: 7.984 kB / 1.188 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.4391, allocations: 8.062 kB / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4391, allocations: 0 / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.4391, allocations: 0 / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4391, allocations: 0 / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.4392, allocations: 7.891 kB / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4392, allocations: 4 kB / 1.188 GB, free: 9.352 MB / 0.9356 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.0001229/0.4393, allocations: 185.1 kB / 1.188 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.4394, allocations: 116.9 kB / 1.188 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.4395, allocations: 112.8 kB / 1.188 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/0.4395, allocations: 184.2 kB / 1.188 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.556e-05/0.4396, allocations: 184.1 kB / 1.189 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/0.4397, allocations: 180.2 kB / 1.189 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.44, allocations: 417.2 kB / 1.189 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.44, allocations: 104.9 kB / 1.189 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.4401, allocations: 108.9 kB / 1.189 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.4402, allocations: 176.3 kB / 1.19 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.4403, allocations: 184.2 kB / 1.19 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-05/0.4404, allocations: 180.3 kB / 1.19 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.4405, allocations: 180.2 kB / 1.19 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.4406, allocations: 307.8 kB / 1.19 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.4407, allocations: 193.9 kB / 1.191 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.4408, allocations: 184.2 kB / 1.191 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.4409, allocations: 105 kB / 1.191 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.441, allocations: 184.2 kB / 1.191 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.4411, allocations: 101 kB / 1.191 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.189e-05/0.4411, allocations: 99.27 kB / 1.191 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4411, allocations: 0 / 1.191 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009343/0.4421, allocations: 283 kB / 1.192 GB, free: 5.434 MB / 0.9356 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.001151/0.4432, allocations: 0.5518 MB / 1.192 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.4434, allocations: 45.98 kB / 1.192 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4434, allocations: 0 / 1.192 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.4434, allocations: 0 / 1.192 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.4439, allocations: 473.8 kB / 1.193 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.4442, allocations: 269.6 kB / 1.193 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.4446, allocations: 0.6807 MB / 1.193 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.4446, allocations: 11.44 kB / 1.193 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.4446, allocations: 0 / 1.193 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.009569/0.4542, allocations: 4.735 MB / 1.198 GB, free: 14.61 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.172471393016167]