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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.406/2.406, allocations: 390.2 MB / 0.6646 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 63.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.817, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002218/0.8193, allocations: 1.364 MB / 0.951 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.8206, allocations: 1.075 MB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.8207, allocations: 3.938 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.8207, allocations: 3.938 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.8207, allocations: 9.234 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.8213, allocations: 215.9 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.8214, allocations: 31.05 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.8214, allocations: 1.312 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.8215, allocations: 15.69 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.8216, allocations: 12.8 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.8216, allocations: 1.531 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.8221, allocations: 434.5 kB / 0.9527 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.8221, allocations: 9.203 kB / 0.9527 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.8222, allocations: 9.125 kB / 0.9527 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.8224, allocations: 199.1 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8224, allocations: 0.8438 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8225, allocations: 0 / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8225, allocations: 1.156 kB / 0.9529 GB, free: 6.711 MB / 0.7169 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.0003793/0.8228, allocations: 386 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8229, allocations: 9.469 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.8229, allocations: 2.875 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.823, allocations: 170.6 kB / 0.9535 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.823, allocations: 5.531 kB / 0.9535 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.823, allocations: 5.75 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8231, allocations: 43.5 kB / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8232, allocations: 1.719 kB / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8232, allocations: 0 / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8232, allocations: 0 / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.8232, allocations: 20.23 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.8234, allocations: 159.7 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.185e-05/0.8235, allocations: 43.7 kB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.8235, allocations: 14.77 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.8242, allocations: 0.9913 MB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.8242, allocations: 39.52 kB / 0.9548 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8242, allocations: 0 / 0.9548 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.8244, allocations: 61.28 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.8244, allocations: 51.41 kB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.8245, allocations: 103 kB / 0.955 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.8245, allocations: 29.69 kB / 0.955 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.8245, allocations: 85.42 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.8245, allocations: 14.25 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.8246, allocations: 12.31 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.8246, allocations: 321.4 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.8246, allocations: 3.812 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.8247, allocations: 3.938 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.8247, allocations: 28.11 kB / 0.9554 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8247, allocations: 0 / 0.9554 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.976e-05/0.8248, allocations: 53.03 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8248, allocations: 8.156 kB / 0.9555 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8248, allocations: 5.062 kB / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8248, allocations: 0 / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.8249, allocations: 15.39 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.825, allocations: 1.094 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.825, allocations: 9.094 kB / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.825, allocations: 0.9375 kB / 0.9555 GB, free: 3.828 MB / 0.7169 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 4.647e-05/0.825, allocations: 108 kB / 0.9556 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.8251, allocations: 9.906 kB / 0.9556 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.8252, allocations: 69.52 kB / 0.9557 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8252, allocations: 0 / 0.9557 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8252, allocations: 0.8438 kB / 0.9557 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8252, allocations: 0 / 0.9557 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.8253, allocations: 156.9 kB / 0.9559 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8253, allocations: 1 kB / 0.9559 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.8254, allocations: 15.7 kB / 0.9559 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8254, allocations: 3.938 kB / 0.9559 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.8254, allocations: 5.344 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8254, allocations: 4 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8254, allocations: 1.344 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.8255, allocations: 80.5 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.8255, allocations: 87.17 kB / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.8255, allocations: 1.188 kB / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.8256, allocations: 432 / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.8256, allocations: 5.109 kB / 0.956 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.8256, allocations: 2.156 kB / 0.9561 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.8256, allocations: 88.19 kB / 0.9561 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8256, allocations: 0 / 0.9561 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.8258, allocations: 41.11 kB / 0.9562 GB, free: 3.148 MB / 0.7169 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.0002333/0.8261, allocations: 154.1 kB / 0.9563 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.8262, allocations: 29.53 kB / 0.9563 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8262, allocations: 0 / 0.9563 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.8262, allocations: 12.41 kB / 0.9564 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.8265, allocations: 7 kB / 0.9564 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.8267, allocations: 154.2 kB / 0.9565 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.8269, allocations: 0.6863 MB / 0.9572 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.8269, allocations: 9.406 kB / 0.9572 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.8269, allocations: 10.47 kB / 0.9572 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8269, allocations: 0 / 0.9572 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.003347/0.8303, allocations: 1.137 MB / 0.9583 GB, free: 1.621 MB / 0.7169 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