Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009587/0.0009584, allocations: 97.78 kB / 16.02 MB, free: 76 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.00133/0.001329, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.568/1.568, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 443.2 MB / 0.7181 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 12.22 kB / 0.8802 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 155.2 MB / 1.032 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00152/0.3406, allocations: 1.159 MB / 1.033 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.345, allocations: 2.963 MB / 1.036 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.3451, allocations: 0 / 1.036 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.3452, allocations: 3.984 kB / 1.036 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.3452, allocations: 11.86 kB / 1.036 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.3487, allocations: 1.393 MB / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.3488, allocations: 43.73 kB / 1.037 GB, free: 15.13 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3488, allocations: 4.219 kB / 1.037 GB, free: 15.13 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.3489, allocations: 15.94 kB / 1.037 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.3489, allocations: 19.86 kB / 1.037 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.3489, allocations: 0 / 1.037 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.351, allocations: 1.466 MB / 1.039 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.351, allocations: 4 kB / 1.039 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.3511, allocations: 45.56 kB / 1.039 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3521, allocations: 0.7993 MB / 1.039 GB, free: 12.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3521, allocations: 0 / 1.039 GB, free: 12.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3521, allocations: 0 / 1.039 GB, free: 12.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3521, allocations: 0 / 1.039 GB, free: 12.77 MB / 0.795 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.0005753/0.3527, allocations: 0.5146 MB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3527, allocations: 8.031 kB / 1.04 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.3528, allocations: 76.22 kB / 1.04 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3529, allocations: 253.2 kB / 1.04 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.353, allocations: 158.9 kB / 1.04 GB, free: 11.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3531, allocations: 150.9 kB / 1.041 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.116e-05/0.3531, allocations: 109.1 kB / 1.041 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3532, allocations: 79.28 kB / 1.041 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3532, allocations: 150.6 kB / 1.041 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.3533, allocations: 154.6 kB / 1.041 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.3533, allocations: 154.6 kB / 1.041 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.3536, allocations: 465.9 kB / 1.042 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.3537, allocations: 165.1 kB / 1.042 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.3537, allocations: 80.14 kB / 1.042 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3538, allocations: 79.28 kB / 1.042 GB, free: 10.05 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3538, allocations: 109.8 kB / 1.042 GB, free: 9.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3538, allocations: 0 / 1.042 GB, free: 9.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.515e-05/0.3539, allocations: 41.62 kB / 1.042 GB, free: 9.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3539, allocations: 126.7 kB / 1.042 GB, free: 9.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3541, allocations: 143.1 kB / 1.042 GB, free: 9.605 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.3541, allocations: 33.64 kB / 1.042 GB, free: 9.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.3542, allocations: 88.14 kB / 1.042 GB, free: 9.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3542, allocations: 0 / 1.042 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.3542, allocations: 13.72 kB / 1.042 GB, free: 9.457 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3543, allocations: 318.8 kB / 1.043 GB, free: 9.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.3543, allocations: 4 kB / 1.043 GB, free: 9.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.3544, allocations: 8 kB / 1.043 GB, free: 9.125 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.3544, allocations: 16.86 kB / 1.043 GB, free: 9.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3544, allocations: 0 / 1.043 GB, free: 9.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001301/0.3546, allocations: 61.5 kB / 1.043 GB, free: 9.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3546, allocations: 8 kB / 1.043 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.3546, allocations: 4 kB / 1.043 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3546, allocations: 8 kB / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3546, allocations: 0 / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3546, allocations: 0 / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.3547, allocations: 0 / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3547, allocations: 0 / 1.043 GB, free: 9.02 MB / 0.795 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.598e-05/0.3548, allocations: 186.2 kB / 1.043 GB, free: 8.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.3549, allocations: 116.8 kB / 1.043 GB, free: 8.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.3549, allocations: 116.8 kB / 1.043 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/0.355, allocations: 176.3 kB / 1.043 GB, free: 8.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/0.355, allocations: 184.2 kB / 1.044 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/0.3551, allocations: 180.3 kB / 1.044 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3553, allocations: 417.2 kB / 1.044 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/0.3554, allocations: 112.9 kB / 1.044 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.3554, allocations: 101 kB / 1.044 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/0.3555, allocations: 180.4 kB / 1.045 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.3555, allocations: 180.3 kB / 1.045 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.376e-05/0.3556, allocations: 184.3 kB / 1.045 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.514e-05/0.3556, allocations: 184.2 kB / 1.045 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.3558, allocations: 307.7 kB / 1.045 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.3558, allocations: 190 kB / 1.046 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.3559, allocations: 176.3 kB / 1.046 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.356, allocations: 112.9 kB / 1.046 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.3561, allocations: 180.3 kB / 1.046 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.3561, allocations: 104.9 kB / 1.046 GB, free: 5.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.3562, allocations: 104.8 kB / 1.046 GB, free: 5.379 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3562, allocations: 0 / 1.046 GB, free: 5.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007319/0.3569, allocations: 287.8 kB / 1.046 GB, free: 5.098 MB / 0.795 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.001029/0.3579, allocations: 0.5293 MB / 1.047 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.3581, allocations: 37.7 kB / 1.047 GB, free: 4.512 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3581, allocations: 0 / 1.047 GB, free: 4.512 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3581, allocations: 0 / 1.047 GB, free: 4.512 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3585, allocations: 0.5381 MB / 1.048 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.3588, allocations: 293.2 kB / 1.048 GB, free: 3.652 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.3591, allocations: 0.6887 MB / 1.049 GB, free: 2.938 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.3591, allocations: 11.44 kB / 1.049 GB, free: 2.926 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3591, allocations: 0 / 1.049 GB, free: 2.926 MB / 0.795 GB Notification: Performance of Templates: time 0.007601/0.3667, allocations: 4.737 MB / 1.053 GB, free: 14.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches