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.001498/0.001498, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.00145/0.00145, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001521, allocations: 67.91 kB / 0.9516 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9824/0.9839, allocations: 140.4 MB / 1.089 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003086/0.9871, allocations: 1.439 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005003/0.9921, allocations: 2.883 MB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.9922, allocations: 0.6562 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.9922, allocations: 5.531 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.9923, allocations: 16.25 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004724/0.997, allocations: 1.585 MB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.9972, allocations: 45.84 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.9972, allocations: 7.688 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.9973, allocations: 13.59 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.9973, allocations: 17 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.9974, allocations: 2.375 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/1.001, allocations: 1.536 MB / 1.096 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/1.001, allocations: 6.578 kB / 1.096 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/1.001, allocations: 20.58 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/1.003, allocations: 1.096 MB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.003, allocations: 1.359 kB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.003, allocations: 0 / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.6e-06/1.003, allocations: 0.6875 kB / 1.097 GB, free: 0.8516 MB / 0.8575 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.0007371/1.004, allocations: 0.5186 MB / 1.098 GB, free: 372 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.004, allocations: 8.781 kB / 1.098 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/1.004, allocations: 86.89 kB / 1.098 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.004, allocations: 249.8 kB / 1.098 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/1.004, allocations: 150.9 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/1.005, allocations: 152.7 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.33e-05/1.005, allocations: 105.8 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/1.005, allocations: 80.31 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/1.005, allocations: 159.2 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.136e-05/1.005, allocations: 150.6 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/1.005, allocations: 155.7 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/1.005, allocations: 462.2 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/1.005, allocations: 170.3 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/1.005, allocations: 84.08 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/1.005, allocations: 76.98 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.006, allocations: 111.7 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.925e-06/1.006, allocations: 0 / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001098/1.006, allocations: 36.97 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.006, allocations: 55.41 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/1.006, allocations: 134.1 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/1.006, allocations: 26.61 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.006, allocations: 100 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/1.006, allocations: 0 / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/1.006, allocations: 17.2 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.006, allocations: 317.9 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/1.006, allocations: 3.891 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/1.006, allocations: 16.64 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/1.006, allocations: 15.62 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.006, allocations: 0 / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/1.006, allocations: 50.75 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.007, allocations: 4.781 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.007, allocations: 3.609 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.007, allocations: 1.094 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/1.007, allocations: 0 / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.007, allocations: 0.7031 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/1.007, allocations: 12.94 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.007, allocations: 6.25 kB / 1.101 GB, free: 13.37 MB / 0.8731 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.0001518/1.007, allocations: 185.4 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/1.007, allocations: 117.2 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/1.007, allocations: 108.1 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001289/1.007, allocations: 186 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.682e-05/1.007, allocations: 106.3 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.007, allocations: 189.5 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.007, allocations: 182.7 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/1.008, allocations: 102.8 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/1.008, allocations: 181 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001192/1.008, allocations: 258.2 kB / 1.102 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002224/1.008, allocations: 389.9 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.091e-05/1.008, allocations: 102.8 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.876e-05/1.008, allocations: 102.3 kB / 1.103 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of Backend: time 2.064e-06/1.008, allocations: 3.938 kB / 1.103 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002037/1.01, allocations: 0.5169 MB / 1.103 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009642/1.011, allocations: 0.9112 MB / 1.104 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.01744/1.029, allocations: 6.375 MB / 1.11 GB, free: 9.559 MB / 0.8731 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/jenkins1/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