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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007734/0.007734, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001822/0.001822, allocations: 196.7 kB / 16.79 MB, free: 6.254 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 75.89 kB / 0.8126 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8691, allocations: 140.3 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002694/0.8719, allocations: 1.43 MB / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.8736, allocations: 1.12 MB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.8736, allocations: 1.375 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.8737, allocations: 3.938 kB / 0.9521 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.8737, allocations: 1.375 kB / 0.9521 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.8743, allocations: 163.3 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.8743, allocations: 25.62 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.8744, allocations: 6.734 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.8745, allocations: 14.81 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.8745, allocations: 13.42 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.8745, allocations: 1.375 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.8751, allocations: 429.8 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.8752, allocations: 5.359 kB / 0.9528 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.8752, allocations: 20.48 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.8754, allocations: 131.6 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8755, allocations: 1.312 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8755, allocations: 0 / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8755, allocations: 0 / 0.9529 GB, free: 6.672 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.0004483/0.8759, allocations: 390.5 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.876, allocations: 9.531 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.876, allocations: 3.469 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.8761, allocations: 165.6 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.8761, allocations: 5.656 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.8762, allocations: 1.594 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8763, allocations: 48.72 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8763, allocations: 0 / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8763, allocations: 0 / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8763, allocations: 1.219 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.8764, allocations: 15.55 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.8765, allocations: 164.1 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.8766, allocations: 43.31 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.8767, allocations: 15.08 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.8775, allocations: 0.9881 MB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.8775, allocations: 38.5 kB / 0.9547 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8775, allocations: 0 / 0.9547 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.8777, allocations: 57.64 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.8777, allocations: 55.34 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.8778, allocations: 107.5 kB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.8778, allocations: 25.7 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.8779, allocations: 89.58 kB / 0.9551 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.8779, allocations: 13.27 kB / 0.9551 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.8779, allocations: 17.41 kB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.878, allocations: 315.9 kB / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.878, allocations: 16.39 kB / 0.9554 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.8781, allocations: 4.531 kB / 0.9554 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.8781, allocations: 18.64 kB / 0.9554 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8781, allocations: 0 / 0.9554 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.761e-05/0.8782, allocations: 54.12 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8782, allocations: 8.031 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8782, allocations: 1.312 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8782, allocations: 0 / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.8784, allocations: 15.39 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8784, allocations: 1.312 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.8784, allocations: 7.844 kB / 0.9555 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.8784, allocations: 5.344 kB / 0.9555 GB, free: 3.785 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 6.493e-05/0.8785, allocations: 108.6 kB / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.8785, allocations: 9.406 kB / 0.9556 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.8787, allocations: 58.06 kB / 0.9557 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8787, allocations: 3.984 kB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8787, allocations: 1.344 kB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8787, allocations: 0 / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.8788, allocations: 160.4 kB / 0.9558 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8788, allocations: 5.562 kB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.8789, allocations: 15.23 kB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8789, allocations: 3.938 kB / 0.9559 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8789, allocations: 1.312 kB / 0.9559 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8789, allocations: 7.938 kB / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8789, allocations: 0 / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.879, allocations: 77.84 kB / 0.9559 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.8791, allocations: 83.36 kB / 0.956 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.8791, allocations: 3.938 kB / 0.956 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.8791, allocations: 1.125 kB / 0.956 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.8792, allocations: 9.219 kB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.8792, allocations: 1.312 kB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.8792, allocations: 88.17 kB / 0.9561 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8792, allocations: 1.281 kB / 0.9561 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002739/0.8795, allocations: 48.42 kB / 0.9562 GB, free: 3.098 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.0002698/0.8798, allocations: 144.9 kB / 0.9563 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.8799, allocations: 22.98 kB / 0.9563 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8799, allocations: 0 / 0.9563 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.8799, allocations: 7.375 kB / 0.9563 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.8802, allocations: 17.86 kB / 0.9564 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.8806, allocations: 184 kB / 0.9565 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.8807, allocations: 0.6788 MB / 0.9572 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.8808, allocations: 11.28 kB / 0.9572 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8808, allocations: 4 kB / 0.9572 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.002797/0.8836, allocations: 1.033 MB / 0.9582 GB, free: 1.582 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/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