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.008226/0.008226, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001548/0.001549, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.54/2.54, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 67.92 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3522, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002491/0.3547, allocations: 1.362 MB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3565, allocations: 1.077 MB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.3566, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.3566, allocations: 7.938 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.3567, allocations: 11.91 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.3573, allocations: 215.2 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.3574, allocations: 31.86 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.3575, allocations: 7.984 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.3575, allocations: 11.94 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.3576, allocations: 19.92 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3576, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.3582, allocations: 427.4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3582, allocations: 7.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.3583, allocations: 15.86 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.3586, allocations: 195.6 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3586, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3586, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3586, allocations: 0 / 1.091 GB, free: 14.07 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.0004865/0.3591, allocations: 391.3 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3592, allocations: 8.031 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.3592, allocations: 4.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3593, allocations: 172.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3594, allocations: 4.375 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3594, allocations: 384 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3595, allocations: 49.94 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3595, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3595, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3596, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.3596, allocations: 11.98 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.3598, allocations: 161.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3599, allocations: 38.59 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.36, allocations: 12.86 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009759/0.361, allocations: 0.9972 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.361, allocations: 34.5 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.361, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.3612, allocations: 61.59 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3613, allocations: 51.41 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.3613, allocations: 109.8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3614, allocations: 25.7 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3614, allocations: 84.14 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.3614, allocations: 15.83 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3615, allocations: 17.72 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.3616, allocations: 310.8 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.3616, allocations: 15.98 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.3616, allocations: 7.938 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.3617, allocations: 21.14 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3617, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.3618, allocations: 57.58 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3618, allocations: 7.938 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3618, allocations: 4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3618, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.362, allocations: 15.98 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.362, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.362, allocations: 12 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.362, allocations: 3.938 kB / 1.094 GB, free: 10.95 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 7.901e-05/0.3621, allocations: 105.8 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3621, allocations: 7.938 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.3623, allocations: 61.58 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3623, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3623, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3623, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3624, allocations: 161.6 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3624, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.3625, allocations: 19.92 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3625, allocations: 3.938 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3625, allocations: 4 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3625, allocations: 7.938 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3626, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.3627, allocations: 73.06 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3627, allocations: 84.95 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3627, allocations: 4 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.3628, allocations: 8 kB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.3628, allocations: 0 / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3628, allocations: 3.984 kB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.3628, allocations: 83.28 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3628, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002387/0.3631, allocations: 47.92 kB / 1.095 GB, free: 10.17 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 (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.0002561/0.3633, allocations: 151.2 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3635, allocations: 23.94 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3635, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.3635, allocations: 11.98 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3638, allocations: 8 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.3641, allocations: 144.3 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3644, allocations: 0.6846 MB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.3645, allocations: 4.328 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3645, allocations: 7.438 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3645, allocations: 0 / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.003716/0.3682, allocations: 1.145 MB / 1.097 GB, free: 7.992 MB / 0.8575 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