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.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.001649/0.001649, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001934/0.001934, allocations: 222.9 kB / 23 MB, free: 4.91 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.624/3.624, allocations: 0.5107 GB / 0.8166 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.002815/0.002815, allocations: 70.66 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.459, allocations: 181.9 MB / 1.365 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003338/0.4623, allocations: 1.442 MB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.4678, allocations: 2.643 MB / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.4679, allocations: 0 / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.4679, allocations: 3.938 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.468, allocations: 15.84 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005078/0.4731, allocations: 1.612 MB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.4732, allocations: 35.81 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.4733, allocations: 3.984 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.4733, allocations: 11.94 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.4733, allocations: 19.88 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4733, allocations: 4 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.4763, allocations: 1.454 MB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.4764, allocations: 0 / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.4764, allocations: 23.86 kB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.4788, allocations: 1.068 MB / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4788, allocations: 0 / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4788, allocations: 0 / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.4788, allocations: 0 / 1.373 GB, free: 5.133 MB / 1.061 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.0007325/0.4795, allocations: 476 kB / 1.373 GB, free: 4.637 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4796, allocations: 8.031 kB / 1.373 GB, free: 4.629 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.4796, allocations: 84.16 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.4798, allocations: 191.8 kB / 1.374 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.4799, allocations: 158.9 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.4799, allocations: 154.9 kB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.48, allocations: 105.1 kB / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.4801, allocations: 75.28 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.4801, allocations: 150.6 kB / 1.374 GB, free: 3.695 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.4802, allocations: 158.5 kB / 1.374 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.4803, allocations: 154.5 kB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.4806, allocations: 417.5 kB / 1.375 GB, free: 2.949 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4807, allocations: 165.1 kB / 1.375 GB, free: 2.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.4808, allocations: 88.14 kB / 1.375 GB, free: 2.688 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.4808, allocations: 75.28 kB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.4809, allocations: 109.8 kB / 1.375 GB, free: 2.496 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4809, allocations: 0 / 1.375 GB, free: 2.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.727e-05/0.481, allocations: 37.58 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.481, allocations: 134.6 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4812, allocations: 131.5 kB / 1.376 GB, free: 2.172 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4812, allocations: 25.7 kB / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.4813, allocations: 92.14 kB / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.4813, allocations: 0 / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.4813, allocations: 13.72 kB / 1.376 GB, free: 2.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4815, allocations: 326.8 kB / 1.376 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.4815, allocations: 4 kB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.4815, allocations: 4 kB / 1.376 GB, free: 1.691 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.4816, allocations: 12.91 kB / 1.376 GB, free: 1.676 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4816, allocations: 3.938 kB / 1.376 GB, free: 1.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001392/0.4817, allocations: 45.73 kB / 1.376 GB, free: 1.621 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4817, allocations: 11.94 kB / 1.376 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.4817, allocations: 3.984 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4818, allocations: 0 / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.4818, allocations: 0 / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4818, allocations: 4.062 kB / 1.376 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.4818, allocations: 11.95 kB / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.4818, allocations: 0 / 1.376 GB, free: 1.59 MB / 1.061 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.0001359/0.4819, allocations: 189.1 kB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.482, allocations: 112.8 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.4821, allocations: 116.8 kB / 1.377 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/0.4822, allocations: 176.3 kB / 1.377 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.994e-05/0.4822, allocations: 188.2 kB / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.21e-05/0.4823, allocations: 176.3 kB / 1.377 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4826, allocations: 368.8 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.301e-05/0.4826, allocations: 101 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.4827, allocations: 105 kB / 1.378 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.371e-05/0.4828, allocations: 188.1 kB / 1.378 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.4829, allocations: 184.2 kB / 1.378 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-05/0.483, allocations: 184.2 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.692e-05/0.483, allocations: 176.3 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.4832, allocations: 303.8 kB / 1.379 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.4833, allocations: 112.9 kB / 1.379 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4834, allocations: 196.1 kB / 1.379 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.4835, allocations: 101 kB / 1.379 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.4836, allocations: 180.2 kB / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.4836, allocations: 112.9 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.4837, allocations: 101 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4837, allocations: 0 / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008345/0.4845, allocations: 295 kB / 1.38 GB, free: 13.81 MB / 1.076 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.001084/0.4856, allocations: 0.5272 MB / 1.38 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.4857, allocations: 37.7 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4857, allocations: 0 / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.4857, allocations: 8 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.4862, allocations: 467.7 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.4866, allocations: 258.6 kB / 1.381 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.4867, allocations: 63.34 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.4867, allocations: 7.438 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.4867, allocations: 4 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of Templates: time 0.008903/0.4956, allocations: 4.824 MB / 1.386 GB, free: 7.562 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 800] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 14.176036945078522]