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.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 489.3 MB / 0.7687 GB, free: 3.957 MB / 0.6075 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.89 kB / 1.103 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002941/1.173, allocations: 1.434 MB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004744/1.178, allocations: 2.854 MB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/1.178, allocations: 0 / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/1.178, allocations: 5.297 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.681e-05/1.178, allocations: 16.33 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005126/1.183, allocations: 1.569 MB / 1.268 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/1.183, allocations: 40.88 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/1.183, allocations: 7.625 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/1.183, allocations: 12.92 kB / 1.268 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/1.183, allocations: 12.42 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/1.183, allocations: 5.25 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/1.187, allocations: 1.488 MB / 1.27 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/1.187, allocations: 5.594 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/1.187, allocations: 16.5 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/1.189, allocations: 1.093 MB / 1.271 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.189, allocations: 4.938 kB / 1.271 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/1.189, allocations: 3.938 kB / 1.271 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.189, allocations: 0 / 1.271 GB, free: 3.41 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.0006658/1.19, allocations: 0.5239 MB / 1.272 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.19, allocations: 10.06 kB / 1.272 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.19, allocations: 85.33 kB / 1.272 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.19, allocations: 248.2 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/1.19, allocations: 150.9 kB / 1.272 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/1.19, allocations: 155.8 kB / 1.272 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.196e-05/1.19, allocations: 106 kB / 1.272 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.19, allocations: 75.28 kB / 1.272 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.19, allocations: 150.6 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/1.19, allocations: 155 kB / 1.273 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/1.19, allocations: 157.2 kB / 1.273 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/1.19, allocations: 464.7 kB / 1.273 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/1.19, allocations: 170 kB / 1.273 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/1.19, allocations: 80.14 kB / 1.273 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/1.19, allocations: 79.91 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.19, allocations: 115.5 kB / 1.274 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/1.19, allocations: 0 / 1.274 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.227e-05/1.191, allocations: 32.98 kB / 1.274 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.191, allocations: 127.2 kB / 1.274 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.191, allocations: 132.7 kB / 1.274 GB, free: 404 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/1.191, allocations: 26.92 kB / 1.274 GB, free: 372 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/1.191, allocations: 93.45 kB / 1.274 GB, free: 280 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/1.191, allocations: 0 / 1.274 GB, free: 280 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/1.191, allocations: 18.84 kB / 1.274 GB, free: 260 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.191, allocations: 314.7 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/1.191, allocations: 7.5 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/1.191, allocations: 2.781 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/1.191, allocations: 16.61 kB / 1.274 GB, free: 15.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.191, allocations: 4 kB / 1.274 GB, free: 15.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/1.191, allocations: 52.66 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.191, allocations: 9.5 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/1.191, allocations: 3.453 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.191, allocations: 0.5625 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.191, allocations: 3.984 kB / 1.274 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.191, allocations: 1.094 kB / 1.274 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/1.191, allocations: 9 kB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.191, allocations: 3.078 kB / 1.274 GB, free: 15.86 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.0001265/1.191, allocations: 182.8 kB / 1.275 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/1.192, allocations: 123.8 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/1.192, allocations: 110.6 kB / 1.275 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/1.192, allocations: 189.2 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-05/1.192, allocations: 177.3 kB / 1.275 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.659e-05/1.192, allocations: 176.9 kB / 1.275 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/1.192, allocations: 422.1 kB / 1.276 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/1.192, allocations: 106.6 kB / 1.276 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/1.192, allocations: 104.9 kB / 1.276 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.396e-05/1.192, allocations: 179.1 kB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/1.192, allocations: 179.5 kB / 1.276 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/1.193, allocations: 185.6 kB / 1.276 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.455e-05/1.193, allocations: 180.3 kB / 1.277 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/1.193, allocations: 308 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.193, allocations: 193.5 kB / 1.277 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.193, allocations: 181.4 kB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/1.193, allocations: 101.7 kB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/1.193, allocations: 188.6 kB / 1.278 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/1.193, allocations: 106.3 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.23e-05/1.193, allocations: 101.3 kB / 1.278 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.193, allocations: 0 / 1.278 GB, free: 12.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001292/1.195, allocations: 279.5 kB / 1.278 GB, free: 12.22 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.001342/1.196, allocations: 0.5373 MB / 1.279 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.196, allocations: 41.23 kB / 1.279 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.196, allocations: 1.031 kB / 1.279 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/1.196, allocations: 0 / 1.279 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/1.197, allocations: 465.7 kB / 1.279 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/1.197, allocations: 260.6 kB / 1.279 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.197, allocations: 0.6815 MB / 1.28 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/1.197, allocations: 9.156 kB / 1.28 GB, free: 10.51 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.197, allocations: 0 / 1.28 GB, free: 10.51 MB / 1.014 GB Notification: Performance of Templates: time 0.01274/1.21, allocations: 4.622 MB / 1.285 GB, free: 10.05 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.674704148899764]