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.001371/0.001371, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001628/0.001628, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.701/2.701, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7706, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002394/0.773, allocations: 1.5 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.7769, allocations: 2.904 MB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.777, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.777, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.7771, allocations: 15.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.7805, allocations: 1.47 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.7806, allocations: 43.73 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.7806, allocations: 7.984 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.7807, allocations: 23.91 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.7807, allocations: 19.88 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.7807, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.7826, allocations: 1.462 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.7827, allocations: 3.984 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.7827, allocations: 19.88 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.784, allocations: 1.099 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7841, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7841, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.7841, allocations: 0 / 1.025 GB, free: 10.15 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.0006943/0.7848, allocations: 0.5225 MB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7848, allocations: 8.031 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.7849, allocations: 84.12 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.7851, allocations: 251.5 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.7852, allocations: 150.9 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.7852, allocations: 150.9 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/0.7853, allocations: 113.1 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.7854, allocations: 83.27 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.7854, allocations: 154.5 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.7855, allocations: 150.6 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.7856, allocations: 150.6 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.7859, allocations: 465.9 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.786, allocations: 169.1 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.7861, allocations: 80.14 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.7861, allocations: 79.22 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.7862, allocations: 113.8 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.7862, allocations: 4 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.338e-05/0.7863, allocations: 29.61 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.7863, allocations: 130.7 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.7865, allocations: 135.2 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.7865, allocations: 25.7 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.7866, allocations: 92.14 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.7866, allocations: 0 / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.7866, allocations: 17.66 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7867, allocations: 322.8 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.7868, allocations: 4 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.7868, allocations: 11.94 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.7868, allocations: 16.92 kB / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7868, allocations: 0 / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001253/0.787, allocations: 53.53 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.787, allocations: 8 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.787, allocations: 4 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.787, allocations: 0 / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.7871, allocations: 4.062 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7871, allocations: 3.938 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.7871, allocations: 7.844 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.7871, allocations: 4 kB / 1.029 GB, free: 6.383 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.747e-05/0.7872, allocations: 185.1 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.7873, allocations: 116.8 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.7873, allocations: 104.9 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/0.7874, allocations: 184.2 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-05/0.7875, allocations: 184.3 kB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.7875, allocations: 180.3 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.7878, allocations: 417.3 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.7878, allocations: 108.9 kB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.7879, allocations: 108.9 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-05/0.788, allocations: 180.3 kB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.788, allocations: 184.2 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.535e-05/0.7881, allocations: 180.2 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.963e-05/0.7882, allocations: 176.3 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.7883, allocations: 311.7 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.7884, allocations: 197.9 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.7885, allocations: 176.3 kB / 1.032 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.7886, allocations: 101 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.7886, allocations: 184.2 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.7887, allocations: 117 kB / 1.032 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6e-05/0.7888, allocations: 97.77 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7888, allocations: 0 / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007747/0.7895, allocations: 283.8 kB / 1.032 GB, free: 2.465 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.00119/0.7907, allocations: 0.5331 MB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.7909, allocations: 41.64 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7909, allocations: 0 / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.7909, allocations: 4 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.7913, allocations: 476.7 kB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.7917, allocations: 244.3 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.792, allocations: 0.6885 MB / 1.034 GB, free: 428 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.792, allocations: 0 / 1.034 GB, free: 428 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.792, allocations: 11.44 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.792, allocations: 0 / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of Templates: time 0.009188/0.8012, allocations: 5.65 MB / 1.04 GB, free: 10.8 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