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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001771/0.001771, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.562/1.562, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 482.4 MB / 0.7542 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 70.48 kB / 0.9232 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4258, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003291/0.4292, allocations: 1.512 MB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005345/0.4346, allocations: 3.008 MB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.4347, allocations: 0 / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.4347, allocations: 0 / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.4348, allocations: 15.86 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.439, allocations: 1.413 MB / 1.087 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.4391, allocations: 43.73 kB / 1.087 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.4391, allocations: 11.97 kB / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.4392, allocations: 15.88 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.4392, allocations: 19.92 kB / 1.088 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4392, allocations: 0 / 1.088 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.4419, allocations: 1.462 MB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.4419, allocations: 11.91 kB / 1.089 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.442, allocations: 19.88 kB / 1.089 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.4437, allocations: 1.123 MB / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4437, allocations: 0 / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4437, allocations: 0 / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4437, allocations: 0 / 1.09 GB, free: 5 MB / 0.8419 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.0006748/0.4444, allocations: 0.5224 MB / 1.091 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4445, allocations: 8.031 kB / 1.091 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.4446, allocations: 88.16 kB / 1.091 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.4447, allocations: 255.5 kB / 1.091 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.4448, allocations: 150.9 kB / 1.091 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.4449, allocations: 150.9 kB / 1.091 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.445, allocations: 105.1 kB / 1.091 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.445, allocations: 75.28 kB / 1.091 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.4451, allocations: 162.6 kB / 1.092 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.4452, allocations: 154.6 kB / 1.092 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.4452, allocations: 154.5 kB / 1.092 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4456, allocations: 461.9 kB / 1.092 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4457, allocations: 173.2 kB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.4457, allocations: 80.14 kB / 1.093 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.4458, allocations: 75.28 kB / 1.093 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.4458, allocations: 113.8 kB / 1.093 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4458, allocations: 0 / 1.093 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.886e-05/0.4459, allocations: 37.53 kB / 1.093 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.446, allocations: 134.7 kB / 1.093 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4462, allocations: 135.5 kB / 1.093 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4462, allocations: 25.7 kB / 1.093 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.4463, allocations: 92.14 kB / 1.093 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-06/0.4463, allocations: 0 / 1.093 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.4463, allocations: 17.7 kB / 1.093 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4465, allocations: 318.8 kB / 1.093 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.4465, allocations: 4 kB / 1.093 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.4465, allocations: 19.92 kB / 1.093 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.4466, allocations: 16.86 kB / 1.093 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4466, allocations: 3.938 kB / 1.093 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001322/0.4467, allocations: 49.55 kB / 1.094 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4467, allocations: 8 kB / 1.094 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4468, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4468, allocations: 4 kB / 1.094 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-07/0.4468, allocations: 0 / 1.094 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4468, allocations: 3.984 kB / 1.094 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.4468, allocations: 0 / 1.094 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4468, allocations: 4.062 kB / 1.094 GB, free: 1.227 MB / 0.8419 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.0001242/0.447, allocations: 185.1 kB / 1.094 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.4471, allocations: 116.8 kB / 1.094 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.162e-05/0.4471, allocations: 108.9 kB / 1.094 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/0.4472, allocations: 180.2 kB / 1.094 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-05/0.4473, allocations: 184.2 kB / 1.094 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.765e-05/0.4474, allocations: 180.3 kB / 1.094 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.4477, allocations: 413.2 kB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.4478, allocations: 108.9 kB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.4478, allocations: 109 kB / 1.095 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.212e-05/0.4479, allocations: 180.2 kB / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.448, allocations: 180.5 kB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.494e-05/0.4481, allocations: 188.2 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/0.4482, allocations: 176.3 kB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.4484, allocations: 319.7 kB / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4485, allocations: 186 kB / 1.096 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.4486, allocations: 184.2 kB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.4487, allocations: 109 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.4488, allocations: 180.3 kB / 1.097 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.4488, allocations: 104.9 kB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.4489, allocations: 97.14 kB / 1.097 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4489, allocations: 0 / 1.097 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000929/0.4499, allocations: 295.7 kB / 1.097 GB, free: 13.3 MB / 0.8575 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.001217/0.4511, allocations: 0.527 MB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4512, allocations: 41.69 kB / 1.098 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4512, allocations: 0 / 1.098 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.4512, allocations: 8.062 kB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.4517, allocations: 0.5262 MB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.4521, allocations: 253.7 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4524, allocations: 0.6848 MB / 1.099 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.377e-05/0.4524, allocations: 0 / 1.099 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.121e-05/0.4525, allocations: 7.438 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.4525, allocations: 0 / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.0108/0.4633, allocations: 5.685 MB / 1.105 GB, free: 5.547 MB / 0.8575 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=400 -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/jenkins/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