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.009484/0.009484, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002236/0.002237, allocations: 194.2 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.599/1.599, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.602/2.602, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.03 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002597/0.3321, allocations: 1.422 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.3365, allocations: 2.858 MB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.3366, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3367, allocations: 3.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.3368, allocations: 11.81 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.3409, allocations: 1.571 MB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.341, allocations: 31.75 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3411, allocations: 7.984 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.3411, allocations: 15.94 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.3412, allocations: 15.88 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3412, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.3437, allocations: 1.49 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3437, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.3438, allocations: 19.86 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.3453, allocations: 1.08 MB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3453, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3453, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3454, allocations: 0 / 1.096 GB, free: 8.906 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.0006994/0.3461, allocations: 0.5068 MB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.3461, allocations: 12.03 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.3462, allocations: 80.12 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.3464, allocations: 253.3 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.3465, allocations: 154.9 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.3465, allocations: 154.9 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.3466, allocations: 105.1 kB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.3467, allocations: 79.22 kB / 1.098 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.3467, allocations: 150.6 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.3468, allocations: 150.6 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.3469, allocations: 154.6 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.3472, allocations: 465.9 kB / 1.099 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3473, allocations: 165.1 kB / 1.099 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3473, allocations: 88.08 kB / 1.099 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3474, allocations: 83.28 kB / 1.099 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.3475, allocations: 109.8 kB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.3475, allocations: 3.984 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.918e-05/0.3475, allocations: 37.59 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.3476, allocations: 130.6 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3478, allocations: 128.2 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3478, allocations: 29.7 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.3479, allocations: 92.05 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.3479, allocations: 4 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.3479, allocations: 21.7 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.348, allocations: 310.8 kB / 1.1 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.3481, allocations: 11.94 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.3481, allocations: 8 kB / 1.1 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.3481, allocations: 12.84 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3482, allocations: 0 / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001392/0.3483, allocations: 49.67 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3483, allocations: 8 kB / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.3484, allocations: 0 / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3484, allocations: 0 / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3484, allocations: 4 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3484, allocations: 0 / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.3484, allocations: 7.844 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3484, allocations: 3.984 kB / 1.1 GB, free: 5.164 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 0.000117/0.3486, allocations: 193.8 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.3486, allocations: 109 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3487, allocations: 112.9 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/0.3488, allocations: 180.2 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.578e-05/0.3488, allocations: 180.2 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.3489, allocations: 184.2 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3492, allocations: 413.2 kB / 1.101 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/0.3492, allocations: 104.9 kB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.3493, allocations: 108.9 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.283e-05/0.3494, allocations: 180.2 kB / 1.101 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.3494, allocations: 184.1 kB / 1.102 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/0.3495, allocations: 176.3 kB / 1.102 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.488e-05/0.3496, allocations: 188.3 kB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3497, allocations: 307.7 kB / 1.102 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.3498, allocations: 193.9 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.3499, allocations: 180.3 kB / 1.103 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.35, allocations: 109 kB / 1.103 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.3501, allocations: 184.2 kB / 1.103 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.3501, allocations: 105 kB / 1.103 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.3502, allocations: 95.27 kB / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 0 / 1.103 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007444/0.3509, allocations: 271.8 kB / 1.103 GB, free: 1.258 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.001002/0.3519, allocations: 0.5297 MB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3521, allocations: 41.62 kB / 1.104 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3521, allocations: 0 / 1.104 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.3521, allocations: 4 kB / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3525, allocations: 471.7 kB / 1.104 GB, free: 208 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3529, allocations: 236.1 kB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3531, allocations: 0.6807 MB / 1.105 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.256e-05/0.3531, allocations: 0 / 1.105 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.3532, allocations: 11.44 kB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.3532, allocations: 0 / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.009045/0.3622, allocations: 5.461 MB / 1.111 GB, free: 9.82 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