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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009648/0.009648, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001696/0.001696, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003966/1.059, allocations: 1.36 MB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002662/1.061, allocations: 1.086 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/1.061, allocations: 0 / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/1.061, allocations: 5.656 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/1.062, allocations: 5.906 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/1.063, allocations: 218.2 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/1.063, allocations: 34.12 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.758e-05/1.063, allocations: 2.906 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/1.063, allocations: 8.469 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/1.063, allocations: 20.28 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/1.063, allocations: 6.5 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009951/1.064, allocations: 427.5 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/1.064, allocations: 10.62 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/1.064, allocations: 10.08 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/1.065, allocations: 200.5 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.065, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.547e-06/1.065, allocations: 0.5938 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.065, allocations: 0 / 1.091 GB, free: 3.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000615/1.065, allocations: 387.8 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.065, allocations: 13.69 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/1.065, allocations: 5.953 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.066, allocations: 172.2 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.066, allocations: 1.938 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/1.066, allocations: 1.938 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/1.066, allocations: 43.75 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.066, allocations: 3.938 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.066, allocations: 0.625 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.066, allocations: 0.75 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/1.066, allocations: 10.33 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/1.066, allocations: 165.3 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/1.066, allocations: 37.02 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/1.066, allocations: 17.16 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.068, allocations: 0.9886 MB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.068, allocations: 39.97 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.068, allocations: 3.938 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002669/1.068, allocations: 57.17 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.068, allocations: 56.47 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.068, allocations: 105.7 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/1.068, allocations: 25.7 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/1.068, allocations: 85.97 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.068, allocations: 15.78 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/1.068, allocations: 17.61 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.068, allocations: 317.3 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/1.068, allocations: 9.453 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/1.068, allocations: 8.984 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/1.068, allocations: 24.73 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.068, allocations: 0 / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/1.069, allocations: 48.31 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/1.069, allocations: 9.438 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.069, allocations: 0.75 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.069, allocations: 0.8438 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.069, allocations: 13.92 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/1.069, allocations: 0 / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/1.069, allocations: 5.922 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/1.069, allocations: 6 kB / 1.094 GB, free: 0.6914 MB / 0.8575 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.075e-05/1.069, allocations: 107.4 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/1.069, allocations: 17.95 kB / 1.094 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/1.069, allocations: 65.7 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.069, allocations: 1.547 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.069, allocations: 1.062 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.069, allocations: 0 / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/1.069, allocations: 158.5 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.069, allocations: 0 / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/1.07, allocations: 18.02 kB / 1.094 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.07, allocations: 4.719 kB / 1.094 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.07, allocations: 4.656 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.07, allocations: 1.391 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.07, allocations: 0.9688 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/1.07, allocations: 77.42 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/1.07, allocations: 83.08 kB / 1.094 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.07, allocations: 5.344 kB / 1.094 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/1.07, allocations: 4.797 kB / 1.094 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/1.07, allocations: 2.641 kB / 1.094 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.07, allocations: 1.406 kB / 1.094 GB, free: 128 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.096e-05/1.07, allocations: 86.66 kB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.07, allocations: 3.938 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003611/1.07, allocations: 47.23 kB / 1.095 GB, free: 28 kB / 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 (4): * Single equations (assignments): 4 * 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.0004986/1.071, allocations: 145.2 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001816/1.071, allocations: 28.19 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.071, allocations: 0 / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/1.071, allocations: 9.438 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/1.071, allocations: 15.52 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/1.072, allocations: 154.2 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/1.072, allocations: 0.6832 MB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.004e-05/1.072, allocations: 4.125 kB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.073, allocations: 9.562 kB / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.073, allocations: 0.9062 kB / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.006101/1.079, allocations: 1.138 MB / 1.097 GB, free: 14.99 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches