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.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.00197/0.00197, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002095/0.002095, allocations: 157.3 kB / 23.55 MB, free: 0.8828 MB / 18.57 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.622/1.622, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 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 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.463e-05, allocations: 3.562 kB / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003181/0.003215, allocations: 1.469 MB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.008837, allocations: 2.823 MB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.008874, allocations: 0.9688 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.008896, allocations: 3.984 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.008974, allocations: 17.19 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.01336, allocations: 1.645 MB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.01347, allocations: 54.66 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.01352, allocations: 0 / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.01357, allocations: 19.98 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.01361, allocations: 15.92 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.01363, allocations: 0 / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.0162, allocations: 1.489 MB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.01621, allocations: 5.312 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.01625, allocations: 15.92 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.01822, allocations: 1.27 MB / 0.8195 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.01823, allocations: 4 kB / 0.8195 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01823, allocations: 0.625 kB / 0.8195 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01824, allocations: 0 / 0.8195 GB, free: 9.195 MB / 0.7761 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.0007625/0.019, allocations: 0.5648 MB / 0.8201 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.01904, allocations: 9.844 kB / 0.8201 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01915, allocations: 128.1 kB / 0.8202 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.01936, allocations: 239.7 kB / 0.8204 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.01949, allocations: 238.8 kB / 0.8207 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.01962, allocations: 246.8 kB / 0.8209 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.01974, allocations: 154.5 kB / 0.8211 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/0.01981, allocations: 123.4 kB / 0.8212 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.01994, allocations: 242.5 kB / 0.8214 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/0.02035, allocations: 247.5 kB / 0.8216 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.02048, allocations: 238.4 kB / 0.8219 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.02094, allocations: 0.5798 MB / 0.8224 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.02113, allocations: 270 kB / 0.8227 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.02122, allocations: 127.6 kB / 0.8228 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.02129, allocations: 123.2 kB / 0.8229 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.996e-05/0.02139, allocations: 160.5 kB / 0.8231 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.02139, allocations: 0 / 0.8231 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.392e-05/0.02148, allocations: 37.64 kB / 0.8231 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.02159, allocations: 174.5 kB / 0.8233 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.02181, allocations: 203.8 kB / 0.8235 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.02183, allocations: 25.7 kB / 0.8235 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.02193, allocations: 134.9 kB / 0.8236 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.02193, allocations: 4 kB / 0.8236 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.02198, allocations: 23.38 kB / 0.8237 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002865/0.02226, allocations: 492.1 kB / 0.8241 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.02229, allocations: 11.98 kB / 0.8241 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.02231, allocations: 5.25 kB / 0.8241 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.02235, allocations: 15.69 kB / 0.8242 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.02235, allocations: 0 / 0.8242 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001576/0.02251, allocations: 50.69 kB / 0.8242 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.02253, allocations: 4 kB / 0.8242 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.02255, allocations: 9.109 kB / 0.8242 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.02257, allocations: 3.938 kB / 0.8242 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-06/0.02257, allocations: 3.938 kB / 0.8242 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.02258, allocations: 1.062 kB / 0.8242 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.0226, allocations: 4 kB / 0.8242 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.02261, allocations: 0 / 0.8242 GB, free: 4.176 MB / 0.7761 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.0001826/0.02279, allocations: 280.8 kB / 0.8245 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.02289, allocations: 148.8 kB / 0.8246 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.023, allocations: 161.3 kB / 0.8248 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001552/0.02315, allocations: 264.1 kB / 0.8251 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/0.0233, allocations: 275.1 kB / 0.8253 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001451/0.02344, allocations: 276 kB / 0.8256 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.02381, allocations: 0.4921 MB / 0.8261 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.829e-05/0.0239, allocations: 152.8 kB / 0.8262 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.02398, allocations: 145 kB / 0.8263 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.02415, allocations: 276.2 kB / 0.8266 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.02431, allocations: 276 kB / 0.8269 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001447/0.02445, allocations: 268.1 kB / 0.8271 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001463/0.0246, allocations: 269.2 kB / 0.8274 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.02488, allocations: 451.9 kB / 0.8278 GB, free: 368 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.02498, allocations: 156.8 kB / 0.828 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.02516, allocations: 268.7 kB / 0.8282 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.0253, allocations: 152.8 kB / 0.8284 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.02545, allocations: 273.2 kB / 0.8286 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.02554, allocations: 148.9 kB / 0.8288 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003875/0.02592, allocations: 148.8 kB / 0.8289 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02592, allocations: 0.5 kB / 0.8289 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000906/0.02683, allocations: 299 kB / 0.8292 GB, free: 14.91 MB / 0.7917 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.001346/0.02818, allocations: 0.6249 MB / 0.8298 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.02831, allocations: 53.38 kB / 0.8299 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02832, allocations: 0 / 0.8299 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.02832, allocations: 64 / 0.8299 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.02899, allocations: 0.7062 MB / 0.8305 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.02942, allocations: 289 kB / 0.8308 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.02949, allocations: 63.34 kB / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.02951, allocations: 0 / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.02953, allocations: 12.5 kB / 0.8309 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of SimCode: time 5.81e-07/0.02953, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of Templates: time 0.01287/0.0424, allocations: 5.994 MB / 0.8367 GB, free: 7.164 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 8.726200492004864]