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.001625/0.001625, allocations: 110.2 kB / 19.69 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.002045/0.002045, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.259/3.259, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002269/0.002269, allocations: 64.25 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4019, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002792/0.4046, allocations: 1.456 MB / 1.356 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004817/0.4095, allocations: 2.953 MB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.4095, allocations: 4 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.4095, allocations: 11.92 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.4096, allocations: 11.86 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.4138, allocations: 1.692 MB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.4139, allocations: 47.72 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.4139, allocations: 3.938 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.414, allocations: 11.94 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.414, allocations: 19.92 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.414, allocations: 0 / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.4165, allocations: 1.72 MB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.4165, allocations: 11.92 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.4166, allocations: 15.94 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.4181, allocations: 1.122 MB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4181, allocations: 0 / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4181, allocations: 0 / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4181, allocations: 0 / 1.363 GB, free: 14.81 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.0006484/0.4187, allocations: 474.1 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4188, allocations: 12.03 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.4188, allocations: 84.17 kB / 1.364 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.419, allocations: 193.8 kB / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.4191, allocations: 150.9 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.4191, allocations: 154.9 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.4192, allocations: 109.1 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.4192, allocations: 75.28 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.4193, allocations: 158.6 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.4194, allocations: 154.5 kB / 1.365 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.4194, allocations: 154.6 kB / 1.365 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.4198, allocations: 436.9 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.4199, allocations: 169.1 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.4199, allocations: 80.14 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4199, allocations: 75.28 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.42, allocations: 113.7 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.42, allocations: 0 / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.167e-05/0.4201, allocations: 33.66 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.4201, allocations: 134.7 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4203, allocations: 126.9 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4203, allocations: 25.7 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.4204, allocations: 96.12 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.4204, allocations: 13.72 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4205, allocations: 322.8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.4205, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.4206, allocations: 12 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.4206, allocations: 20.78 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4206, allocations: 4 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.4207, allocations: 53.58 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4207, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.4208, allocations: 7.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4208, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.4208, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4208, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.4208, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4208, allocations: 8.062 kB / 1.366 GB, free: 11.23 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.0001188/0.4209, allocations: 185.1 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.421, allocations: 116.8 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.4211, allocations: 108.8 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.748e-05/0.4211, allocations: 188.2 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-05/0.4212, allocations: 176.3 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.577e-05/0.4213, allocations: 180.3 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4215, allocations: 388.2 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.4216, allocations: 108.9 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.4216, allocations: 104.9 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.4217, allocations: 180.3 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.4218, allocations: 180.3 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.642e-05/0.4219, allocations: 184.2 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/0.422, allocations: 176.3 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4221, allocations: 311.7 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.4222, allocations: 108.9 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.4223, allocations: 192.2 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.4224, allocations: 101 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.4225, allocations: 184.2 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.4225, allocations: 105 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.4226, allocations: 96.98 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4226, allocations: 4 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008058/0.4234, allocations: 294.9 kB / 1.37 GB, free: 7.43 MB / 1.061 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.001106/0.4245, allocations: 0.5373 MB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.4246, allocations: 41.64 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4246, allocations: 0 / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.4246, allocations: 352 / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4251, allocations: 467.7 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.4255, allocations: 262.2 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4258, allocations: 0.6807 MB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.4258, allocations: 11.44 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4258, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of Templates: time 0.008938/0.4347, allocations: 4.812 MB / 1.376 GB, free: 0.5664 MB / 1.061 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=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: 13.57332976500038]