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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001216/0.001216, allocations: 98.88 kB / 16.02 MB, free: 72 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.001892/0.001893, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.613/1.613, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.984/2.984, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004426, allocations: 12 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7684, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001839/0.7703, allocations: 1.16 MB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.7755, allocations: 2.963 MB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.7756, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.7756, allocations: 3.984 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.439e-05/0.7757, allocations: 11.86 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.78, allocations: 1.378 MB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.7801, allocations: 47.66 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.7802, allocations: 11.98 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.7802, allocations: 11.94 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.7802, allocations: 23.86 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.7803, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.7833, allocations: 1.47 MB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.7833, allocations: 0 / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.7834, allocations: 49.56 kB / 1.031 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.7852, allocations: 0.7857 MB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7853, allocations: 0 / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7853, allocations: 4 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7853, allocations: 0 / 1.031 GB, free: 7.898 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.001155/0.7864, allocations: 0.5146 MB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.7865, allocations: 8.031 kB / 1.032 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.7866, allocations: 76.22 kB / 1.032 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.7868, allocations: 255.5 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.7869, allocations: 154.9 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.7869, allocations: 158.9 kB / 1.033 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.787, allocations: 105.1 kB / 1.033 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.787, allocations: 75.28 kB / 1.033 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.7871, allocations: 150.6 kB / 1.033 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-05/0.7872, allocations: 150.6 kB / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.7873, allocations: 158.6 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.7876, allocations: 469.8 kB / 1.034 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.7877, allocations: 169.1 kB / 1.034 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.7878, allocations: 80.14 kB / 1.034 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.7878, allocations: 75.28 kB / 1.034 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.7879, allocations: 117.7 kB / 1.034 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7879, allocations: 0 / 1.034 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.788, allocations: 33.64 kB / 1.034 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.7881, allocations: 126.7 kB / 1.034 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.7883, allocations: 144.1 kB / 1.034 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.7883, allocations: 25.7 kB / 1.034 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.7884, allocations: 88.14 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.7884, allocations: 4 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.7884, allocations: 13.72 kB / 1.035 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7885, allocations: 318.8 kB / 1.035 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.7886, allocations: 4 kB / 1.035 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.7886, allocations: 8 kB / 1.035 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.7886, allocations: 12.86 kB / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7887, allocations: 0 / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001555/0.7888, allocations: 57.47 kB / 1.035 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7888, allocations: 11.94 kB / 1.035 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.7889, allocations: 4.062 kB / 1.035 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7889, allocations: 3.984 kB / 1.035 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.7889, allocations: 4 kB / 1.035 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7889, allocations: 0 / 1.035 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.7889, allocations: 12 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.789, allocations: 0 / 1.035 GB, free: 4.141 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 0.0001313/0.7891, allocations: 185.1 kB / 1.035 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.7892, allocations: 112.8 kB / 1.035 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.7893, allocations: 116.8 kB / 1.035 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/0.7893, allocations: 176.3 kB / 1.035 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.155e-05/0.7894, allocations: 180.3 kB / 1.036 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/0.7895, allocations: 188.3 kB / 1.036 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.7898, allocations: 409.2 kB / 1.036 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/0.7898, allocations: 116.9 kB / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.7899, allocations: 105 kB / 1.036 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-05/0.79, allocations: 180.3 kB / 1.037 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.79, allocations: 184.2 kB / 1.037 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.78e-05/0.7901, allocations: 180.3 kB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.221e-05/0.7902, allocations: 180.2 kB / 1.037 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.7904, allocations: 311.8 kB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.7905, allocations: 193.9 kB / 1.038 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.7906, allocations: 176.3 kB / 1.038 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.7907, allocations: 104.9 kB / 1.038 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.7908, allocations: 184.3 kB / 1.038 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.7908, allocations: 112.9 kB / 1.038 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.7909, allocations: 96.67 kB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7909, allocations: 0 / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001013/0.7919, allocations: 279.8 kB / 1.039 GB, free: 232 kB / 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.001949/0.7939, allocations: 0.5413 MB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.794, allocations: 45.62 kB / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.7941, allocations: 0 / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.7941, allocations: 0 / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.7947, allocations: 0.5309 MB / 1.04 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.7952, allocations: 285.3 kB / 1.04 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.7956, allocations: 0.6848 MB / 1.041 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.7956, allocations: 15.44 kB / 1.041 GB, free: 14.05 MB / 0.795 GB Notification: Performance of SimCode: time 7.22e-07/0.7956, allocations: 0 / 1.041 GB, free: 14.05 MB / 0.795 GB Notification: Performance of Templates: time 0.01048/0.8061, allocations: 4.738 MB / 1.045 GB, free: 9.32 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/jenkins1/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