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.001528/0.001528, allocations: 111.1 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.001566/0.001567, allocations: 192.2 kB / 17.3 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 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.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 67.94 kB / 0.8708 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3588, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003304/0.3622, allocations: 1.365 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3642, allocations: 1.089 MB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.3642, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.3643, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.3644, allocations: 11.88 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009472/0.3654, allocations: 221.5 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.3655, allocations: 39.78 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.3655, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.3656, allocations: 11.98 kB / 1.022 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.3657, allocations: 15.92 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3657, allocations: 8 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.3665, allocations: 423.5 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.3665, allocations: 7.938 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.3665, allocations: 11.92 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.367, allocations: 199.6 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.367, allocations: 3.938 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.385e-06/0.367, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.367, allocations: 0 / 1.022 GB, free: 6.387 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.0005484/0.3675, allocations: 387.3 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3676, allocations: 8.922 kB / 1.023 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.3676, allocations: 4.938 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3678, allocations: 168.3 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3678, allocations: 4.375 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3678, allocations: 4.312 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.3679, allocations: 45.94 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.368, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.368, allocations: 4 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.368, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.3681, allocations: 19.94 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3682, allocations: 161.7 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.3684, allocations: 34.58 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3684, allocations: 20.92 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/0.3694, allocations: 0.9895 MB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3694, allocations: 38.5 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3694, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001942/0.3696, allocations: 61.53 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3697, allocations: 55.41 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.3698, allocations: 105.8 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3698, allocations: 25.7 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.3699, allocations: 88.12 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3699, allocations: 11.84 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.3699, allocations: 21.7 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3701, allocations: 314.8 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.3701, allocations: 4 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.3701, allocations: 8 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.3702, allocations: 24.84 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3702, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.14e-05/0.3703, allocations: 57.53 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3703, allocations: 7.938 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3703, allocations: 0 / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3703, allocations: 0 / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3704, allocations: 16 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3705, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.3705, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3705, allocations: 8 kB / 1.025 GB, free: 3.277 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 8.473e-05/0.3706, allocations: 109.8 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.3706, allocations: 7.938 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3708, allocations: 61.53 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3708, allocations: 0 / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3708, allocations: 3.938 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3708, allocations: 0 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3709, allocations: 165.6 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3709, allocations: 0 / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.371, allocations: 20 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.371, allocations: 3.938 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.371, allocations: 3.938 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.371, allocations: 0 / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.371, allocations: 4.375 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.3712, allocations: 77.05 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3712, allocations: 85.03 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3712, allocations: 4 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.3713, allocations: 4 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3713, allocations: 4 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3713, allocations: 0 / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.3713, allocations: 87.27 kB / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3714, allocations: 0 / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002503/0.3716, allocations: 43.94 kB / 1.025 GB, free: 2.5 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.0002537/0.3719, allocations: 151.2 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.372, allocations: 19.98 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.372, allocations: 4 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.372, allocations: 11.94 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3723, allocations: 12.94 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.3726, allocations: 145.7 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3729, allocations: 0.6807 MB / 1.026 GB, free: 1.422 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.373, allocations: 9.828 kB / 1.026 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.373, allocations: 11.44 kB / 1.026 GB, free: 1.402 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.373, allocations: 0 / 1.026 GB, free: 1.402 MB / 0.795 GB Notification: Performance of Templates: time 0.003635/0.3766, allocations: 1.148 MB / 1.028 GB, free: 316 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 cvode -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