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.00196/0.00196, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002517/0.002517, allocations: 217.9 kB / 23.01 MB, free: 5.125 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.437/3.437, allocations: 0.49 GB / 0.7958 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002061/0.002061, allocations: 70.77 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4451, allocations: 176.1 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002957/0.4481, allocations: 1.479 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005049/0.4531, allocations: 2.992 MB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.4532, allocations: 0 / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.4532, allocations: 7.938 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.4533, allocations: 19.84 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.4577, allocations: 1.707 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4578, allocations: 47.67 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.4578, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.4579, allocations: 11.94 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.4579, allocations: 15.92 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4579, allocations: 3.938 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.4607, allocations: 1.77 MB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.4607, allocations: 11.92 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.4607, allocations: 15.88 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.4624, allocations: 1.146 MB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4624, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.06e-06/0.4624, allocations: 4 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.4624, allocations: 3.938 kB / 1.336 GB, free: 8.141 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.0006945/0.4631, allocations: 472 kB / 1.337 GB, free: 7.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4632, allocations: 8.031 kB / 1.337 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.4632, allocations: 92.17 kB / 1.337 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.4634, allocations: 198.9 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.4635, allocations: 150.9 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.4636, allocations: 150.9 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.4637, allocations: 113.1 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.4637, allocations: 75.28 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.4638, allocations: 154.6 kB / 1.338 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.4639, allocations: 150.6 kB / 1.338 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.4639, allocations: 154.5 kB / 1.338 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.4642, allocations: 433 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.4644, allocations: 177.1 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.4644, allocations: 84.14 kB / 1.339 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.4644, allocations: 75.28 kB / 1.339 GB, free: 5.582 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.4645, allocations: 109.8 kB / 1.339 GB, free: 5.465 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4645, allocations: 0 / 1.339 GB, free: 5.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.4646, allocations: 37.64 kB / 1.339 GB, free: 5.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4647, allocations: 134.7 kB / 1.339 GB, free: 5.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4649, allocations: 139.4 kB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4649, allocations: 25.7 kB / 1.339 GB, free: 5.102 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.4649, allocations: 96.12 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.4649, allocations: 0 / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.465, allocations: 13.72 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4651, allocations: 322.8 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.4652, allocations: 4 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.4652, allocations: 8 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.4652, allocations: 12.86 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4652, allocations: 0 / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.4654, allocations: 57.53 kB / 1.34 GB, free: 4.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4654, allocations: 7.984 kB / 1.34 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.4654, allocations: 8 kB / 1.34 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4654, allocations: 0 / 1.34 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.4654, allocations: 0 / 1.34 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4654, allocations: 3.938 kB / 1.34 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.4654, allocations: 0 / 1.34 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4655, allocations: 8.062 kB / 1.34 GB, free: 4.543 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.00013/0.4656, allocations: 181.1 kB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.4657, allocations: 116.8 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.4657, allocations: 112.7 kB / 1.34 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-05/0.4658, allocations: 184.3 kB / 1.34 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.493e-05/0.4659, allocations: 184.2 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.466, allocations: 176.3 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.4662, allocations: 388.2 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.944e-05/0.4663, allocations: 105 kB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.4663, allocations: 109 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.709e-05/0.4664, allocations: 184.2 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.4665, allocations: 180.3 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.251e-05/0.4666, allocations: 180.2 kB / 1.342 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.4667, allocations: 180.2 kB / 1.342 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4668, allocations: 311.7 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.4669, allocations: 116.9 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.467, allocations: 188.2 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.4671, allocations: 101 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.4672, allocations: 180.3 kB / 1.343 GB, free: 1.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.4672, allocations: 108.9 kB / 1.343 GB, free: 1.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.901e-05/0.4673, allocations: 100.7 kB / 1.343 GB, free: 1.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4673, allocations: 0 / 1.343 GB, free: 1.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007623/0.4681, allocations: 299 kB / 1.343 GB, free: 0.7305 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.0011/0.4692, allocations: 0.5535 MB / 1.344 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.4693, allocations: 38.05 kB / 1.344 GB, free: 128 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4693, allocations: 4.062 kB / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.4693, allocations: 0 / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.4697, allocations: 471.5 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.4701, allocations: 258.3 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4705, allocations: 0.6846 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.4705, allocations: 11.44 kB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4705, allocations: 0 / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of Templates: time 0.008892/0.4794, allocations: 4.908 MB / 1.35 GB, free: 9.738 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] 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/jenkins1/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,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 13.779829391016392]