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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007931/0.007931, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001394/0.001395, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.556/2.556, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.59 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2906, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002334/0.293, allocations: 1.434 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.2969, allocations: 2.897 MB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.297, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.297, allocations: 7.922 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.2971, allocations: 11.88 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.3006, allocations: 1.572 MB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.3007, allocations: 47.67 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.3008, allocations: 4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.3008, allocations: 11.94 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.3008, allocations: 19.92 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3009, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.303, allocations: 1.533 MB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.303, allocations: 7.938 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.3031, allocations: 19.88 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.3044, allocations: 1.096 MB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3044, allocations: 8 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3044, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3044, allocations: 0 / 1.096 GB, free: 8.773 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.0005097/0.3049, allocations: 0.5185 MB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3049, allocations: 15.97 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.305, allocations: 80.12 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3051, allocations: 245.9 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.3052, allocations: 158.9 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.3052, allocations: 154.9 kB / 1.098 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.078e-05/0.3053, allocations: 105.1 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.3053, allocations: 79.22 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.3054, allocations: 154.5 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.3054, allocations: 158.6 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.3055, allocations: 154.6 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.3057, allocations: 465.9 kB / 1.099 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.3058, allocations: 169.1 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3058, allocations: 84.08 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3059, allocations: 79.28 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.3059, allocations: 109.8 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.3059, allocations: 0 / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.634e-05/0.306, allocations: 37.55 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.306, allocations: 126.7 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3061, allocations: 129.8 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3062, allocations: 29.7 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3062, allocations: 100 kB / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3062, allocations: 0 / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3063, allocations: 13.72 kB / 1.1 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.3064, allocations: 322.8 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3064, allocations: 7.938 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.3064, allocations: 8 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.3064, allocations: 12.91 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3065, allocations: 0 / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.3066, allocations: 61.66 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3066, allocations: 4 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.3066, allocations: 4 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3066, allocations: 0 / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3066, allocations: 0 / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3066, allocations: 0 / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.3067, allocations: 7.906 kB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3067, allocations: 0 / 1.1 GB, free: 5.008 MB / 0.8575 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 9.249e-05/0.3068, allocations: 185.1 kB / 1.1 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.3068, allocations: 116.9 kB / 1.1 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.3069, allocations: 112.8 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/0.307, allocations: 184.2 kB / 1.1 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/0.307, allocations: 176.3 kB / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/0.3071, allocations: 180.2 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3073, allocations: 421.1 kB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/0.3073, allocations: 108.9 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.3074, allocations: 105 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.279e-05/0.3074, allocations: 184.3 kB / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.3075, allocations: 180.2 kB / 1.102 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.276e-05/0.3076, allocations: 180.2 kB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-05/0.3076, allocations: 180.3 kB / 1.102 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.3078, allocations: 307.8 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.3079, allocations: 193.9 kB / 1.103 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.308, allocations: 184.3 kB / 1.103 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.3081, allocations: 108.9 kB / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.3081, allocations: 184.2 kB / 1.103 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.3082, allocations: 101 kB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.729e-05/0.3083, allocations: 105.4 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3083, allocations: 0 / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007293/0.309, allocations: 279.8 kB / 1.104 GB, free: 1.086 MB / 0.8575 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.001081/0.3101, allocations: 0.5329 MB / 1.104 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.181e-05/0.3102, allocations: 45.64 kB / 1.104 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3102, allocations: 0 / 1.104 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3102, allocations: 3.938 kB / 1.104 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3106, allocations: 468.3 kB / 1.105 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3109, allocations: 240.1 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3112, allocations: 0.6807 MB / 1.105 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.3112, allocations: 0 / 1.105 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.3112, allocations: 15.44 kB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.3112, allocations: 0 / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.009496/0.3207, allocations: 5.641 MB / 1.111 GB, free: 9.461 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches