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.001463/0.001463, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001531/0.001531, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.43/2.43, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 63.39 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.341, allocations: 140.4 MB / 0.9503 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003185/0.3442, allocations: 1.359 MB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3461, allocations: 1.081 MB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.3462, allocations: 0 / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.3462, allocations: 3.938 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.3463, allocations: 3.938 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000892/0.3472, allocations: 223 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.3473, allocations: 27.86 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.3474, allocations: 4 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.3475, allocations: 15.92 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.3475, allocations: 19.91 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3476, allocations: 4 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.3482, allocations: 423.5 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3482, allocations: 4 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.3483, allocations: 11.92 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.3486, allocations: 203.8 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3486, allocations: 0 / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3486, allocations: 3.938 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3487, allocations: 0 / 0.9536 GB, free: 5.422 MB / 0.7325 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.0004697/0.3491, allocations: 383.3 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3492, allocations: 12.03 kB / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.3492, allocations: 4.938 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3493, allocations: 168.3 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3494, allocations: 4.375 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.3494, allocations: 384 / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3495, allocations: 46 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3495, allocations: 0 / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3495, allocations: 0 / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3495, allocations: 0 / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.3496, allocations: 15.94 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3498, allocations: 161.7 kB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.3499, allocations: 42.55 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.3499, allocations: 12.89 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/0.3508, allocations: 0.9934 MB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3509, allocations: 34.5 kB / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.3509, allocations: 0 / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001767/0.3511, allocations: 61.61 kB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3511, allocations: 51.41 kB / 0.9555 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.3512, allocations: 109.8 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3512, allocations: 29.7 kB / 0.9557 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3513, allocations: 84.14 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3513, allocations: 15.75 kB / 0.9558 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3514, allocations: 13.72 kB / 0.9558 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3515, allocations: 318.8 kB / 0.9561 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.3515, allocations: 8 kB / 0.9561 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.3515, allocations: 4 kB / 0.9561 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.3516, allocations: 32.78 kB / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3516, allocations: 0 / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.109e-05/0.3517, allocations: 57.55 kB / 0.9562 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3517, allocations: 11.92 kB / 0.9562 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3517, allocations: 0 / 0.9562 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3517, allocations: 0 / 0.9562 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3519, allocations: 12 kB / 0.9562 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3519, allocations: 0 / 0.9562 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.3519, allocations: 4 kB / 0.9562 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3519, allocations: 0 / 0.9562 GB, free: 2.32 MB / 0.7325 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.068e-05/0.352, allocations: 109.8 kB / 0.9563 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.352, allocations: 11.92 kB / 0.9563 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.3522, allocations: 61.53 kB / 0.9564 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3522, allocations: 0 / 0.9564 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3522, allocations: 0 / 0.9564 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3522, allocations: 0 / 0.9564 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3523, allocations: 165.7 kB / 0.9565 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3523, allocations: 3.984 kB / 0.9566 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.3524, allocations: 16 kB / 0.9566 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3524, allocations: 3.938 kB / 0.9566 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3525, allocations: 0 / 0.9566 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3525, allocations: 4 kB / 0.9566 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3525, allocations: 0 / 0.9566 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3526, allocations: 80.97 kB / 0.9567 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.3526, allocations: 85.03 kB / 0.9567 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3527, allocations: 0 / 0.9567 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.3527, allocations: 8 kB / 0.9567 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.3527, allocations: 3.938 kB / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3527, allocations: 0 / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.3528, allocations: 91.27 kB / 0.9568 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3528, allocations: 0 / 0.9568 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002479/0.353, allocations: 36 kB / 0.9569 GB, free: 1.543 MB / 0.7325 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.0002618/0.3533, allocations: 151.6 kB / 0.957 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.3534, allocations: 23.92 kB / 0.957 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3534, allocations: 4 kB / 0.957 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.3535, allocations: 16.03 kB / 0.9571 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3537, allocations: 10.42 kB / 0.9571 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.3541, allocations: 182 kB / 0.9572 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3544, allocations: 0.6922 MB / 0.9579 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.3544, allocations: 11.44 kB / 0.9579 GB, free: 408 kB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.3544, allocations: 0 / 0.9579 GB, free: 408 kB / 0.7325 GB Notification: Performance of Templates: time 0.002946/0.3574, allocations: 1.033 MB / 0.9589 GB, free: 15.38 MB / 0.7481 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/jenkins1/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