Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007531/0.007531, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001604, allocations: 198.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9509 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002832/1.056, allocations: 1.436 MB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004637/1.06, allocations: 2.834 MB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/1.06, allocations: 1.031 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/1.06, allocations: 9.438 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/1.06, allocations: 12.05 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004549/1.065, allocations: 1.569 MB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/1.065, allocations: 35.73 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/1.065, allocations: 11.17 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/1.065, allocations: 8.625 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/1.065, allocations: 21.53 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/1.065, allocations: 1.125 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/1.068, allocations: 1.495 MB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/1.068, allocations: 3.281 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/1.068, allocations: 19.48 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/1.071, allocations: 1.067 MB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.071, allocations: 7.938 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/1.071, allocations: 1.125 kB / 1.096 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.071, allocations: 0 / 1.096 GB, free: 0.9297 MB / 0.8575 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.0006693/1.071, allocations: 0.5133 MB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.071, allocations: 9.953 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/1.072, allocations: 85.78 kB / 1.097 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.072, allocations: 252 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/1.072, allocations: 152 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/1.072, allocations: 152.6 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/1.072, allocations: 106.4 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.072, allocations: 75.28 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/1.072, allocations: 159.3 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/1.072, allocations: 150.6 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/1.072, allocations: 155.5 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/1.073, allocations: 465.2 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/1.073, allocations: 170.8 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/1.073, allocations: 81.27 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.073, allocations: 75.28 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/1.073, allocations: 115.6 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/1.073, allocations: 0 / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.205e-05/1.073, allocations: 32.62 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.073, allocations: 135.5 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.073, allocations: 126.3 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.073, allocations: 26.86 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/1.073, allocations: 95.92 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/1.073, allocations: 0 / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/1.073, allocations: 16.36 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.073, allocations: 317.5 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/1.073, allocations: 7.484 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/1.073, allocations: 4.016 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/1.074, allocations: 18.92 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.074, allocations: 0 / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/1.074, allocations: 50.05 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.074, allocations: 5.5 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.074, allocations: 3.047 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.074, allocations: 4.031 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/1.074, allocations: 1.859 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.074, allocations: 0 / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/1.074, allocations: 12.75 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.074, allocations: 5.812 kB / 1.1 GB, free: 13.39 MB / 0.8731 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.0001167/1.074, allocations: 183.5 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/1.074, allocations: 115.8 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/1.074, allocations: 108.7 kB / 1.1 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.479e-05/1.074, allocations: 190.5 kB / 1.1 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.038e-05/1.074, allocations: 181.8 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.435e-05/1.074, allocations: 177.8 kB / 1.101 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/1.075, allocations: 412.9 kB / 1.101 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/1.075, allocations: 106.7 kB / 1.101 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/1.075, allocations: 110 kB / 1.101 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-05/1.075, allocations: 178.4 kB / 1.101 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/1.075, allocations: 181.9 kB / 1.102 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.768e-05/1.075, allocations: 182.5 kB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-05/1.075, allocations: 178 kB / 1.102 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.075, allocations: 310.5 kB / 1.102 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.075, allocations: 193 kB / 1.102 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/1.075, allocations: 182.5 kB / 1.103 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/1.075, allocations: 102.7 kB / 1.103 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/1.076, allocations: 181.9 kB / 1.103 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/1.076, allocations: 110.5 kB / 1.103 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.315e-05/1.076, allocations: 98.58 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.076, allocations: 4.781 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00122/1.077, allocations: 277.3 kB / 1.103 GB, free: 9.75 MB / 0.8731 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.00133/1.078, allocations: 0.5181 MB / 1.104 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001415/1.078, allocations: 38.58 kB / 1.104 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.078, allocations: 3.938 kB / 1.104 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/1.078, allocations: 0.7188 kB / 1.104 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/1.079, allocations: 470.3 kB / 1.104 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/1.079, allocations: 226.5 kB / 1.105 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/1.08, allocations: 0.6901 MB / 1.105 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.56e-05/1.08, allocations: 0.6094 kB / 1.105 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/1.08, allocations: 9.469 kB / 1.105 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.08, allocations: 0 / 1.105 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of Templates: time 0.01414/1.094, allocations: 5.438 MB / 1.111 GB, free: 7.672 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches