Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006378/0.006378, allocations: 102.7 kB / 15.74 MB, free: 6.441 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.0014/0.0014, allocations: 194.3 kB / 16.67 MB, free: 6.348 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.406/1.406, 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 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 79.83 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3271, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002497/0.3296, allocations: 1.426 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.3337, allocations: 2.883 MB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.3338, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.3338, allocations: 3.938 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.3338, allocations: 15.86 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.3373, allocations: 1.558 MB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.3374, allocations: 39.75 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.3375, allocations: 3.984 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.3375, allocations: 11.94 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.3375, allocations: 23.86 kB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3375, allocations: 4 kB / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.3395, allocations: 1.482 MB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3395, allocations: 7.938 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3395, allocations: 19.86 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3408, allocations: 1.087 MB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3408, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3408, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.3408, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 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.0005781/0.3414, allocations: 0.5247 MB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3414, allocations: 12.03 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.3415, allocations: 84.17 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3417, allocations: 251.5 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.3417, allocations: 150.9 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.3418, allocations: 154.9 kB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.372e-05/0.3418, allocations: 109 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3419, allocations: 79.28 kB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.3419, allocations: 154.6 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.342, allocations: 150.6 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.342, allocations: 150.6 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.3423, allocations: 469.9 kB / 1.231 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.3424, allocations: 173.1 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.3424, allocations: 80.14 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3425, allocations: 79.27 kB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3425, allocations: 113.8 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3425, allocations: 0 / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.3426, allocations: 41.64 kB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3426, allocations: 130.6 kB / 1.232 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3428, allocations: 131.5 kB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3428, allocations: 25.7 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.3429, allocations: 92.14 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3429, allocations: 0 / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3429, allocations: 17.7 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.343, allocations: 322.8 kB / 1.232 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.343, allocations: 0 / 1.232 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.3431, allocations: 8 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.3431, allocations: 20.84 kB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3431, allocations: 0 / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.3432, allocations: 53.53 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3432, allocations: 4 kB / 1.232 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3432, allocations: 4 kB / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3433, allocations: 0 / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3433, allocations: 0 / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.3433, allocations: 4.062 kB / 1.233 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.3433, allocations: 7.984 kB / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3433, allocations: 0 / 1.233 GB, free: 1.391 MB / 0.9825 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.912e-05/0.3434, allocations: 181.1 kB / 1.233 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.3434, allocations: 112.9 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.3435, allocations: 116.8 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/0.3436, allocations: 180.2 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.406e-05/0.3436, allocations: 180.3 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.125e-05/0.3437, allocations: 180.2 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3439, allocations: 413.2 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/0.3439, allocations: 108.9 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.344, allocations: 105 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.344, allocations: 184.3 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.3441, allocations: 184.1 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-05/0.3442, allocations: 176.3 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.245e-05/0.3442, allocations: 184.2 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3443, allocations: 319.7 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.3444, allocations: 186 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.3445, allocations: 180.3 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.3446, allocations: 108.9 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3446, allocations: 180.2 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3447, allocations: 104.9 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.3447, allocations: 101.8 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3447, allocations: 0 / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006783/0.3454, allocations: 287 kB / 1.236 GB, free: 13.48 MB / 0.9981 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.0009568/0.3464, allocations: 0.5363 MB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.3464, allocations: 33.7 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3464, allocations: 0 / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3465, allocations: 4.062 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3469, allocations: 471.6 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.3472, allocations: 242 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3474, allocations: 0.6846 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.235e-05/0.3474, allocations: 0 / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/0.3474, allocations: 11.44 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3474, allocations: 0 / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.008728/0.3562, allocations: 5.457 MB / 1.243 GB, free: 6.031 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches