Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001256/0.001256, 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.001409/0.001409, allocations: 194.8 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.97 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3154, allocations: 159.1 MB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002963/0.3184, allocations: 1.364 MB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3203, allocations: 1.088 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.3203, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.3204, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.3204, allocations: 19.84 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.3212, allocations: 213.3 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.3213, allocations: 31.86 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3214, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.3214, allocations: 19.92 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.3215, allocations: 11.92 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3215, allocations: 4 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.3222, allocations: 419.5 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.3222, allocations: 8 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3222, allocations: 19.86 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3226, allocations: 199.9 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3226, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3226, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.3227, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 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.000493/0.3232, allocations: 383.3 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3232, allocations: 8.031 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.3232, allocations: 30.75 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3233, allocations: 12.83 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3234, allocations: 160.4 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3234, allocations: 8.375 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.3234, allocations: 4.375 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3235, allocations: 45.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3236, allocations: 4 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3236, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3236, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.3236, allocations: 15.94 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3238, allocations: 157.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.3239, allocations: 42.61 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.324, allocations: 16.89 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009387/0.3249, allocations: 0.9934 MB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.325, allocations: 38.44 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.325, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/0.3252, allocations: 69.47 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3252, allocations: 51.41 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.3253, allocations: 105.8 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3253, allocations: 25.7 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.3253, allocations: 84.14 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3254, allocations: 23.73 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.3254, allocations: 13.72 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.3255, allocations: 314.8 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.3255, allocations: 4 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.3256, allocations: 11.98 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.3256, allocations: 20.86 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3256, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.826e-05/0.3257, allocations: 61.56 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3257, allocations: 4 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3258, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3258, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3259, allocations: 12 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3259, allocations: 3.984 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.3259, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3259, allocations: 4 kB / 1.07 GB, free: 7.855 MB / 0.8262 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.929e-05/0.326, allocations: 109.8 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.326, allocations: 15.84 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3262, allocations: 65.84 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3262, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3262, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3262, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3263, allocations: 161.7 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3263, allocations: 0 / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.3264, allocations: 15.94 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3264, allocations: 0 / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3264, allocations: 3.984 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3264, allocations: 4 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3264, allocations: 4 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.3265, allocations: 77.06 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.3266, allocations: 88.89 kB / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3266, allocations: 0 / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.3266, allocations: 4 kB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3267, allocations: 4 kB / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3267, allocations: 0 / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.3267, allocations: 95.27 kB / 1.07 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3267, allocations: 0 / 1.07 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002409/0.327, allocations: 39.94 kB / 1.07 GB, free: 7.074 MB / 0.8262 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.0004961/0.3275, allocations: 0.6675 MB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.3276, allocations: 23.94 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3276, allocations: 0 / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.3276, allocations: 15.98 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3279, allocations: 4.547 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.3284, allocations: 196 kB / 1.071 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3286, allocations: 0.6807 MB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.3286, allocations: 13.58 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.3287, allocations: 15.44 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3287, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.3478, allocations: 2.177 MB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.931, allocations: 3.062 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches