Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.202/3.202, allocations: 489.7 MB / 0.7761 GB, free: 33.77 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_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=500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 76.78 kB / 1.127 GB, free: 36.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4374, allocations: 172.1 MB / 1.295 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003388/0.4408, allocations: 1.443 MB / 1.296 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.4455, allocations: 2.875 MB / 1.299 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.4456, allocations: 3.938 kB / 1.299 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.4456, allocations: 8 kB / 1.299 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.4457, allocations: 11.86 kB / 1.299 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.45, allocations: 1.556 MB / 1.301 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.4501, allocations: 47.61 kB / 1.301 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.4502, allocations: 4 kB / 1.301 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.4502, allocations: 11.94 kB / 1.301 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.4502, allocations: 15.92 kB / 1.301 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.4503, allocations: 4 kB / 1.301 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.4528, allocations: 1.529 MB / 1.302 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.4529, allocations: 3.938 kB / 1.302 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.4529, allocations: 23.86 kB / 1.302 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.4546, allocations: 1.087 MB / 1.303 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4546, allocations: 0 / 1.303 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4546, allocations: 4 kB / 1.303 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.4546, allocations: 0 / 1.303 GB, free: 3.133 MB / 0.9981 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.0007292/0.4553, allocations: 0.5208 MB / 1.304 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4553, allocations: 11.98 kB / 1.304 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.4554, allocations: 88.17 kB / 1.304 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4556, allocations: 255.5 kB / 1.304 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.4557, allocations: 150.9 kB / 1.304 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.4558, allocations: 150.9 kB / 1.304 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.4559, allocations: 117 kB / 1.305 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.4559, allocations: 75.28 kB / 1.305 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.456, allocations: 154.6 kB / 1.305 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/0.4561, allocations: 150.6 kB / 1.305 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.739e-05/0.4561, allocations: 154.5 kB / 1.305 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.4565, allocations: 461.9 kB / 1.306 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4566, allocations: 177.1 kB / 1.306 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.4566, allocations: 80.14 kB / 1.306 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.4567, allocations: 75.28 kB / 1.306 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.4567, allocations: 113.8 kB / 1.306 GB, free: 276 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4567, allocations: 0 / 1.306 GB, free: 276 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.402e-05/0.4568, allocations: 33.64 kB / 1.306 GB, free: 236 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.4569, allocations: 130.7 kB / 1.306 GB, free: 92 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4571, allocations: 135.9 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4571, allocations: 25.7 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.4571, allocations: 88.12 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4571, allocations: 3.938 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.4572, allocations: 25.64 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4573, allocations: 314.8 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.4574, allocations: 8 kB / 1.307 GB, free: 15.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.4574, allocations: 4 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.4574, allocations: 16.84 kB / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4574, allocations: 0 / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.4576, allocations: 49.59 kB / 1.307 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4576, allocations: 11.94 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.4576, allocations: 0 / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4576, allocations: 0 / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.4576, allocations: 0 / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4576, allocations: 7.984 kB / 1.307 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.4576, allocations: 11.86 kB / 1.307 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.4577, allocations: 4.062 kB / 1.307 GB, free: 15.36 MB / 1.014 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.0001275/0.4578, allocations: 185.7 kB / 1.307 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.4579, allocations: 116.9 kB / 1.307 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.4579, allocations: 112.9 kB / 1.307 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.352e-05/0.458, allocations: 184.2 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.041e-05/0.4581, allocations: 180.3 kB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.539e-05/0.4582, allocations: 184.2 kB / 1.308 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4585, allocations: 409.2 kB / 1.308 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/0.4585, allocations: 104.9 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.4586, allocations: 112.9 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.4587, allocations: 176.3 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.4588, allocations: 184.2 kB / 1.309 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.134e-05/0.4588, allocations: 180.3 kB / 1.309 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.928e-05/0.4589, allocations: 180.3 kB / 1.309 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.4591, allocations: 303.8 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4592, allocations: 197.9 kB / 1.31 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4593, allocations: 180.3 kB / 1.31 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4594, allocations: 101 kB / 1.31 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.4595, allocations: 188.2 kB / 1.31 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.4595, allocations: 101 kB / 1.31 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.4596, allocations: 105.1 kB / 1.31 GB, free: 11.72 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4596, allocations: 0 / 1.31 GB, free: 11.72 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008565/0.4605, allocations: 283 kB / 1.31 GB, free: 11.45 MB / 1.014 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.001091/0.4616, allocations: 0.5207 MB / 1.311 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4617, allocations: 37.64 kB / 1.311 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4617, allocations: 0 / 1.311 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4617, allocations: 0 / 1.311 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.4621, allocations: 467.7 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.4625, allocations: 269.6 kB / 1.312 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4629, allocations: 0.6807 MB / 1.312 GB, free: 9.406 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.4629, allocations: 11.44 kB / 1.312 GB, free: 9.395 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/0.4629, allocations: 3.938 kB / 1.312 GB, free: 9.391 MB / 1.014 GB Notification: Performance of Templates: time 0.00917/0.4721, allocations: 4.646 MB / 1.317 GB, free: 4.75 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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