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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008689/0.008688, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.001879/0.00188, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.484/2.484, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.03 kB / 0.9505 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00287/0.2917, allocations: 1.363 MB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2936, allocations: 1.073 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.2937, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.2938, allocations: 7.938 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.2938, allocations: 7.922 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.2947, allocations: 219.2 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.2948, allocations: 27.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.2948, allocations: 15.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.2949, allocations: 12 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.295, allocations: 19.86 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.295, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.2957, allocations: 431.4 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2957, allocations: 3.984 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2957, allocations: 19.88 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.2961, allocations: 191 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2961, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2961, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2962, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 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.0005018/0.2967, allocations: 391.6 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2967, allocations: 12.03 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.2968, allocations: 34.75 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.2968, allocations: 4.844 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2969, allocations: 164.4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2969, allocations: 384 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.297, allocations: 384 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.2971, allocations: 45.81 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2971, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2971, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2971, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.2972, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.2974, allocations: 161.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.2975, allocations: 42.59 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.2975, allocations: 16.83 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/0.2984, allocations: 0.9856 MB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2985, allocations: 42.48 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2985, allocations: 3.938 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.2987, allocations: 57.61 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2987, allocations: 55.39 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.2988, allocations: 101.9 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2988, allocations: 29.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.2989, allocations: 88.12 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.2989, allocations: 11.83 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2989, allocations: 17.72 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.299, allocations: 322.8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.2991, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.2991, allocations: 4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.2991, allocations: 20.8 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2991, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.088e-05/0.2992, allocations: 57.53 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2993, allocations: 8 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2993, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2993, allocations: 3.938 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2994, allocations: 19.98 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2994, allocations: 4 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.2995, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.2995, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 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.922e-05/0.2996, allocations: 113.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2996, allocations: 11.78 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2997, allocations: 61.58 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2997, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2997, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2997, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2999, allocations: 161.7 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2999, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3, allocations: 19.92 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3001, allocations: 81.42 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.3002, allocations: 92.95 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3002, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.3002, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.3002, allocations: 3.984 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3002, allocations: 8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.3003, allocations: 79.28 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3003, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.3005, allocations: 47.92 kB / 1.094 GB, free: 10.66 MB / 0.8575 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.000511/0.301, allocations: 0.667 MB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3012, allocations: 23.98 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3012, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.3012, allocations: 8 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3014, allocations: 4 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.3019, allocations: 197.9 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3021, allocations: 0.6807 MB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3022, allocations: 4 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.3022, allocations: 11.44 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3022, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.3227, allocations: 2.215 MB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.295, allocations: 8.375 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > 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