Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001467/0.001474, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7084, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002736/0.7112, allocations: 1.436 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004784/0.716, allocations: 2.899 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.716, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.7161, allocations: 7.922 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.7162, allocations: 15.8 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.7199, allocations: 1.583 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.72, allocations: 43.73 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.72, allocations: 15.97 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.7201, allocations: 15.94 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.7201, allocations: 19.88 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.7201, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.7221, allocations: 1.459 MB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.7221, allocations: 7.969 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.7222, allocations: 15.88 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.7235, allocations: 1.119 MB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7235, allocations: 0 / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7235, allocations: 0 / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7235, allocations: 4 kB / 1.026 GB, free: 9.82 MB / 0.7794 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.0005167/0.724, allocations: 0.5121 MB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.7241, allocations: 11.97 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.7241, allocations: 84.12 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.7243, allocations: 259.5 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.7243, allocations: 150.9 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.7244, allocations: 154.9 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.427e-05/0.7244, allocations: 109.1 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.7244, allocations: 75.28 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.7245, allocations: 150.6 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.7245, allocations: 150.6 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.7246, allocations: 154.5 kB / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.7249, allocations: 465.9 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.7249, allocations: 169.1 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.725, allocations: 80.14 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.725, allocations: 79.28 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.7251, allocations: 117.8 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.7251, allocations: 0 / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.353e-05/0.7251, allocations: 37.55 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.7252, allocations: 126.7 kB / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.7253, allocations: 131.9 kB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.7254, allocations: 25.7 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.7254, allocations: 92.12 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.7254, allocations: 0 / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.7255, allocations: 21.72 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7256, allocations: 318.8 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.7256, allocations: 3.984 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.7257, allocations: 4.062 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.7257, allocations: 24.8 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.7257, allocations: 0 / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.7259, allocations: 57.48 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7259, allocations: 4 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.7259, allocations: 12.05 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.7259, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.7259, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7259, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.726, allocations: 11.78 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.726, allocations: 4 kB / 1.029 GB, free: 6.055 MB / 0.7794 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.333e-05/0.7261, allocations: 185.8 kB / 1.029 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.7261, allocations: 112.9 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.7262, allocations: 112.9 kB / 1.03 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/0.7263, allocations: 180.3 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.896e-05/0.7263, allocations: 188.2 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/0.7264, allocations: 184.2 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.7266, allocations: 413.2 kB / 1.031 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.7266, allocations: 112.9 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.7267, allocations: 101 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.672e-05/0.7267, allocations: 180.2 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.7268, allocations: 184.3 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.161e-05/0.7269, allocations: 180.2 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.422e-05/0.7269, allocations: 180.2 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.727, allocations: 311.7 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.7271, allocations: 189.9 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.7272, allocations: 184.2 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.7273, allocations: 109 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.7273, allocations: 184.2 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.7274, allocations: 101 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.7274, allocations: 100.4 kB / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7274, allocations: 0 / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006647/0.7281, allocations: 283.8 kB / 1.033 GB, free: 2.137 MB / 0.7794 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.001049/0.7291, allocations: 0.5331 MB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.7293, allocations: 41.7 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7293, allocations: 4 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.7293, allocations: 3.938 kB / 1.033 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.7297, allocations: 468.4 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.7301, allocations: 228.2 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.7303, allocations: 0.6807 MB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.7303, allocations: 8 kB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.7304, allocations: 7.438 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7304, allocations: 3.938 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of Templates: time 0.009235/0.7396, allocations: 5.648 MB / 1.04 GB, free: 10.5 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches