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.001698/0.001698, allocations: 113 kB / 17.6 MB, free: 4.684 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.00184/0.00184, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.305 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 2.859/2.859, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 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.002025/0.002025, allocations: 67.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 173.6 MB / 1.306 GB, free: 33.51 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002436/1.023, allocations: 1.457 MB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003655/1.026, allocations: 2.899 MB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/1.027, allocations: 2.344 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/1.027, allocations: 3.938 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/1.027, allocations: 18.38 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/1.03, allocations: 1.557 MB / 1.311 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/1.03, allocations: 43.64 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/1.03, allocations: 7.234 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/1.03, allocations: 12.66 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/1.03, allocations: 13.27 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/1.03, allocations: 6.688 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/1.032, allocations: 1.53 MB / 1.313 GB, free: 29.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/1.032, allocations: 10.95 kB / 1.313 GB, free: 29.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/1.032, allocations: 17.72 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/1.034, allocations: 1.08 MB / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.034, allocations: 3.234 kB / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.034, allocations: 0 / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.034, allocations: 0 / 1.314 GB, free: 28.9 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.0005252/1.034, allocations: 0.5289 MB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/1.034, allocations: 9.031 kB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/1.034, allocations: 82.89 kB / 1.315 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/1.034, allocations: 252.5 kB / 1.315 GB, free: 28.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/1.034, allocations: 150.9 kB / 1.315 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/1.034, allocations: 157.6 kB / 1.315 GB, free: 27.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.092e-05/1.034, allocations: 112.3 kB / 1.315 GB, free: 27.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.034, allocations: 75.28 kB / 1.315 GB, free: 27.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/1.034, allocations: 150.6 kB / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/1.034, allocations: 154.6 kB / 1.316 GB, free: 27.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/1.035, allocations: 153.3 kB / 1.316 GB, free: 27.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/1.035, allocations: 466.4 kB / 1.316 GB, free: 26.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/1.035, allocations: 179.8 kB / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/1.035, allocations: 80.14 kB / 1.316 GB, free: 26.35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/1.035, allocations: 75.28 kB / 1.316 GB, free: 26.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.035, allocations: 109.8 kB / 1.317 GB, free: 26.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/1.035, allocations: 4 kB / 1.317 GB, free: 26.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.223e-05/1.035, allocations: 39.7 kB / 1.317 GB, free: 26.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.035, allocations: 129.4 kB / 1.317 GB, free: 25.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/1.035, allocations: 128.2 kB / 1.317 GB, free: 25.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/1.035, allocations: 25.7 kB / 1.317 GB, free: 25.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/1.035, allocations: 98.17 kB / 1.317 GB, free: 25.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/1.035, allocations: 0 / 1.317 GB, free: 25.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/1.035, allocations: 19.12 kB / 1.317 GB, free: 25.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/1.035, allocations: 318.5 kB / 1.317 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/1.035, allocations: 6.688 kB / 1.317 GB, free: 25.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/1.035, allocations: 5.406 kB / 1.317 GB, free: 25.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/1.035, allocations: 7.672 kB / 1.317 GB, free: 25.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.035, allocations: 0 / 1.317 GB, free: 25.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/1.035, allocations: 62.73 kB / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.035, allocations: 5.719 kB / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.035, allocations: 2.969 kB / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.035, allocations: 0 / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/1.035, allocations: 4.062 kB / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.035, allocations: 0 / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/1.035, allocations: 6.25 kB / 1.317 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/1.035, allocations: 0 / 1.317 GB, free: 25.34 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 5.052e-05/1.035, allocations: 184.1 kB / 1.318 GB, free: 25.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/1.036, allocations: 119.7 kB / 1.318 GB, free: 25.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/1.036, allocations: 114.6 kB / 1.318 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.036, allocations: 180.3 kB / 1.318 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.036, allocations: 176.3 kB / 1.318 GB, free: 24.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.036, allocations: 183 kB / 1.318 GB, free: 24.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/1.036, allocations: 413.4 kB / 1.319 GB, free: 23.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.036, allocations: 108.9 kB / 1.319 GB, free: 23.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/1.036, allocations: 101 kB / 1.319 GB, free: 23.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/1.036, allocations: 186.2 kB / 1.319 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.036, allocations: 180.2 kB / 1.319 GB, free: 23.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.541e-05/1.036, allocations: 180.3 kB / 1.319 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.586e-05/1.036, allocations: 187.1 kB / 1.32 GB, free: 22.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.57e-05/1.036, allocations: 313.2 kB / 1.32 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/1.036, allocations: 190 kB / 1.32 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/1.036, allocations: 179.2 kB / 1.32 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/1.036, allocations: 108 kB / 1.32 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/1.036, allocations: 180.3 kB / 1.321 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.036, allocations: 107.8 kB / 1.321 GB, free: 21.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.322e-05/1.036, allocations: 111.3 kB / 1.321 GB, free: 21.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 3.938 kB / 1.321 GB, free: 21.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007062/1.037, allocations: 277 kB / 1.321 GB, free: 21.69 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.0009145/1.038, allocations: 0.5171 MB / 1.322 GB, free: 21.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000122/1.038, allocations: 36.03 kB / 1.322 GB, free: 21.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.038, allocations: 8 kB / 1.322 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.038, allocations: 3.125 kB / 1.322 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.038, allocations: 462.7 kB / 1.322 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/1.039, allocations: 247.2 kB / 1.322 GB, free: 20.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/1.039, allocations: 0.685 MB / 1.323 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.226e-05/1.039, allocations: 3.938 kB / 1.323 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/1.039, allocations: 10.38 kB / 1.323 GB, free: 20.01 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/1.039, allocations: 0 / 1.323 GB, free: 20.01 MB / 1.061 GB Notification: Performance of Templates: time 0.009201/1.048, allocations: 5.469 MB / 1.328 GB, free: 19.6 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.378539456054568]