Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001804/0.001805, 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.00283/0.002829, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.89 kB / 0.8126 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8789, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002383/0.8813, allocations: 1.43 MB / 0.951 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003744/0.8851, allocations: 2.887 MB / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.8852, allocations: 0 / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.8852, allocations: 3.938 kB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.8853, allocations: 18.19 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.8887, allocations: 1.59 MB / 0.9554 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.8888, allocations: 42.5 kB / 0.9555 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.8888, allocations: 6.547 kB / 0.9555 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.8888, allocations: 15.19 kB / 0.9555 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.8889, allocations: 16.02 kB / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.8889, allocations: 1.25 kB / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.8907, allocations: 1.465 MB / 0.9569 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.8908, allocations: 9.359 kB / 0.957 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.8908, allocations: 24.11 kB / 0.957 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.892, allocations: 1.095 MB / 0.958 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.892, allocations: 0 / 0.958 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.892, allocations: 0 / 0.958 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.892, allocations: 1.094 kB / 0.958 GB, free: 3.152 MB / 0.7169 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.000479/0.8925, allocations: 0.5169 MB / 0.9586 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8926, allocations: 9.844 kB / 0.9586 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.8926, allocations: 82.06 kB / 0.9586 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.8927, allocations: 261.1 kB / 0.9589 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.8927, allocations: 156 kB / 0.959 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.8928, allocations: 152 kB / 0.9592 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.072e-05/0.8928, allocations: 105.1 kB / 0.9593 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.8928, allocations: 76.28 kB / 0.9594 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.8929, allocations: 154.6 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.8929, allocations: 154.5 kB / 0.9596 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.8929, allocations: 151.7 kB / 0.9598 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.8931, allocations: 466.3 kB / 0.9602 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.8931, allocations: 174.4 kB / 0.9604 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.8931, allocations: 84.12 kB / 0.9605 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.8932, allocations: 75.28 kB / 0.9606 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.8932, allocations: 111.1 kB / 0.9607 GB, free: 400 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.8932, allocations: 0 / 0.9607 GB, free: 400 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.587e-05/0.8933, allocations: 40.28 kB / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.8933, allocations: 131.5 kB / 0.9608 GB, free: 212 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.8934, allocations: 133.3 kB / 0.961 GB, free: 92 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.8934, allocations: 25.7 kB / 0.961 GB, free: 60 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.8935, allocations: 90.17 kB / 0.9611 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.8935, allocations: 5.188 kB / 0.9611 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.8935, allocations: 18.08 kB / 0.9611 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8936, allocations: 317.1 kB / 0.9614 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.8937, allocations: 2.906 kB / 0.9614 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.8937, allocations: 12.06 kB / 0.9614 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.8937, allocations: 14.31 kB / 0.9614 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8937, allocations: 4.062 kB / 0.9614 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.8939, allocations: 55.83 kB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8939, allocations: 5.312 kB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.8939, allocations: 3.25 kB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8939, allocations: 1.094 kB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.8939, allocations: 0 / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.8939, allocations: 0 / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.894, allocations: 9.047 kB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.894, allocations: 9.125 kB / 0.9615 GB, free: 15.54 MB / 0.7325 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.584e-05/0.8941, allocations: 183.3 kB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.8941, allocations: 112.1 kB / 0.9618 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.8942, allocations: 110 kB / 0.9619 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/0.8943, allocations: 185.6 kB / 0.9621 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-05/0.8943, allocations: 189.2 kB / 0.9622 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/0.8944, allocations: 181.1 kB / 0.9624 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.8947, allocations: 408.9 kB / 0.9628 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.734e-05/0.8947, allocations: 108.9 kB / 0.9629 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.8948, allocations: 109.9 kB / 0.963 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.504e-05/0.8948, allocations: 185.4 kB / 0.9632 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.8949, allocations: 181.3 kB / 0.9634 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.895, allocations: 177.1 kB / 0.9635 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-05/0.895, allocations: 181 kB / 0.9637 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.8952, allocations: 313 kB / 0.964 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.8953, allocations: 188.2 kB / 0.9642 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.8953, allocations: 181.8 kB / 0.9644 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.8954, allocations: 105.7 kB / 0.9645 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.8955, allocations: 181 kB / 0.9646 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.8956, allocations: 109.9 kB / 0.9647 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.8956, allocations: 98.55 kB / 0.9648 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8956, allocations: 0 / 0.9648 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007997/0.8964, allocations: 282.6 kB / 0.9651 GB, free: 11.88 MB / 0.7325 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.001138/0.8976, allocations: 0.5255 MB / 0.9656 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.8977, allocations: 42.31 kB / 0.9657 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8977, allocations: 0 / 0.9657 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.8977, allocations: 13.44 kB / 0.9657 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.8981, allocations: 467.2 kB / 0.9661 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.8985, allocations: 245.7 kB / 0.9663 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.8988, allocations: 0.6847 MB / 0.967 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.8988, allocations: 1.094 kB / 0.967 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.8988, allocations: 9.906 kB / 0.967 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8988, allocations: 0 / 0.967 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.009855/0.9087, allocations: 5.639 MB / 0.9725 GB, free: 7.246 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches