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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00797/0.00797, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001711/0.001711, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 0.9509 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.089, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.004645/1.094, allocations: 1.425 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007865/1.102, allocations: 2.85 MB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/1.102, allocations: 0.75 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/1.102, allocations: 5.062 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/1.102, allocations: 16.67 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008522/1.111, allocations: 1.558 MB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/1.111, allocations: 41.11 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/1.111, allocations: 6.906 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/1.111, allocations: 17.05 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/1.111, allocations: 12.5 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/1.111, allocations: 1.125 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/1.118, allocations: 1.495 MB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/1.118, allocations: 6.75 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/1.118, allocations: 12.45 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/1.122, allocations: 1.075 MB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.122, allocations: 0 / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/1.122, allocations: 0 / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.122, allocations: 0.9688 kB / 1.096 GB, free: 0.9219 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.001325/1.123, allocations: 0.5123 MB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.123, allocations: 10.16 kB / 1.097 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/1.123, allocations: 86.67 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/1.123, allocations: 251.4 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/1.123, allocations: 156.7 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/1.123, allocations: 152.1 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/1.124, allocations: 105.1 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.124, allocations: 75.98 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/1.124, allocations: 155.7 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/1.124, allocations: 150.6 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/1.124, allocations: 155.6 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/1.124, allocations: 461.2 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.124, allocations: 170.2 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/1.124, allocations: 81.94 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/1.124, allocations: 83.22 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/1.124, allocations: 115.4 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/1.124, allocations: 0 / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001065/1.125, allocations: 33.59 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/1.125, allocations: 130.7 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.125, allocations: 126.9 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.125, allocations: 25.7 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/1.125, allocations: 95.98 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/1.125, allocations: 1.062 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/1.125, allocations: 19.47 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.125, allocations: 314.6 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/1.125, allocations: 3.906 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/1.125, allocations: 10.69 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/1.125, allocations: 19.48 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.125, allocations: 0 / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001483/1.125, allocations: 48.92 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.125, allocations: 6.875 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.125, allocations: 2.125 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.125, allocations: 0.6562 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-06/1.125, allocations: 5.094 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.126, allocations: 0 / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/1.126, allocations: 9.516 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.126, allocations: 5.188 kB / 1.1 GB, free: 13.38 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.0001206/1.126, allocations: 183.9 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/1.126, allocations: 115.7 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/1.126, allocations: 113.1 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/1.126, allocations: 181.9 kB / 1.1 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-05/1.126, allocations: 181.8 kB / 1.1 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-05/1.126, allocations: 182.3 kB / 1.101 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/1.126, allocations: 416.1 kB / 1.101 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.351e-05/1.127, allocations: 106.8 kB / 1.101 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/1.127, allocations: 102.7 kB / 1.101 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.994e-05/1.127, allocations: 182 kB / 1.101 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/1.127, allocations: 182.1 kB / 1.102 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.271e-05/1.127, allocations: 181.9 kB / 1.102 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.949e-05/1.127, allocations: 182.6 kB / 1.102 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/1.127, allocations: 306.3 kB / 1.102 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/1.127, allocations: 193.5 kB / 1.102 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/1.127, allocations: 186 kB / 1.103 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/1.127, allocations: 103.6 kB / 1.103 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/1.127, allocations: 181.3 kB / 1.103 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/1.128, allocations: 102.6 kB / 1.103 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.987e-05/1.128, allocations: 102.5 kB / 1.103 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 0 / 1.103 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001623/1.129, allocations: 282.2 kB / 1.103 GB, free: 9.742 MB / 0.8731 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.002073/1.131, allocations: 0.5223 MB / 1.104 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001152/1.131, allocations: 34.53 kB / 1.104 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.131, allocations: 0 / 1.104 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/1.131, allocations: 5.031 kB / 1.104 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/1.132, allocations: 470.4 kB / 1.104 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/1.132, allocations: 229.4 kB / 1.105 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.133, allocations: 0.6827 MB / 1.105 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.081e-05/1.133, allocations: 7.938 kB / 1.105 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/1.133, allocations: 9.25 kB / 1.105 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.133, allocations: 0 / 1.105 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.0159/1.149, allocations: 5.448 MB / 1.111 GB, free: 7.656 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches