Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001441/0.001441, allocations: 116 kB / 16.37 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.001337/0.001337, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 68.23 kB / 0.8708 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3607, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002655/0.3634, allocations: 1.36 MB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3651, allocations: 1.085 MB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.3652, allocations: 4 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.3652, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.3653, allocations: 11.91 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.3659, allocations: 215.6 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.366, allocations: 39.8 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.366, allocations: 3.984 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.3661, allocations: 8 kB / 1.022 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.3662, allocations: 15.92 kB / 1.022 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3662, allocations: 4 kB / 1.022 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.3668, allocations: 431.4 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3668, allocations: 11.91 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.3669, allocations: 15.88 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.3672, allocations: 191.6 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3672, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3672, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3672, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 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.0005156/0.3677, allocations: 391.3 kB / 1.023 GB, free: 5.996 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3678, allocations: 8.625 kB / 1.023 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3678, allocations: 4.938 kB / 1.023 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3679, allocations: 172.3 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3679, allocations: 4.312 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.368, allocations: 4.375 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.3681, allocations: 45.94 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3681, allocations: 0 / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3681, allocations: 4 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3681, allocations: 0 / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.3682, allocations: 15.97 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3683, allocations: 153.7 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.3684, allocations: 50.5 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.3685, allocations: 12.89 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009481/0.3694, allocations: 0.9856 MB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3695, allocations: 42.5 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3695, allocations: 0 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.3697, allocations: 57.59 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3697, allocations: 51.41 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.3698, allocations: 105.8 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3698, allocations: 29.7 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.3699, allocations: 88.08 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3699, allocations: 15.83 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3699, allocations: 17.72 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3701, allocations: 310.8 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.3701, allocations: 11.98 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.3701, allocations: 4 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.3701, allocations: 20.86 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3702, allocations: 4 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.98e-05/0.3702, allocations: 53.59 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3703, allocations: 7.938 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3703, allocations: 0 / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3703, allocations: 0 / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3704, allocations: 19.92 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3704, allocations: 0 / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.3704, allocations: 0 / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3705, allocations: 8 kB / 1.025 GB, free: 3.316 MB / 0.795 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.517e-05/0.3705, allocations: 117.8 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.3706, allocations: 7.938 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3707, allocations: 61.58 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3707, allocations: 0 / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.3707, allocations: 3.938 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3707, allocations: 0 / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.3708, allocations: 161.6 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3708, allocations: 0 / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.527e-05/0.3709, allocations: 19.92 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3709, allocations: 4.312 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3709, allocations: 4 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.371, allocations: 0 / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.371, allocations: 4 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/0.3711, allocations: 77.11 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3711, allocations: 81.05 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3711, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.3712, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.3712, allocations: 4 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3712, allocations: 11.98 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.3712, allocations: 79.59 kB / 1.025 GB, free: 2.586 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3712, allocations: 4 kB / 1.025 GB, free: 2.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002557/0.3715, allocations: 47.92 kB / 1.025 GB, free: 2.535 MB / 0.795 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.0002509/0.3718, allocations: 155.1 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.3719, allocations: 16 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3719, allocations: 0 / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.3719, allocations: 11.98 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.3721, allocations: 12.94 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.3724, allocations: 153.5 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3727, allocations: 0.6807 MB / 1.026 GB, free: 1.453 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.3727, allocations: 4 kB / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.3727, allocations: 11.44 kB / 1.026 GB, free: 1.438 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.3727, allocations: 4 kB / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of Templates: time 0.003614/0.3763, allocations: 1.143 MB / 1.028 GB, free: 352 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches