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.007883/0.007883, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001739/0.001739, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002903/0.3782, allocations: 1.36 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3801, allocations: 1.091 MB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.3802, allocations: 0 / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.3802, allocations: 11.98 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.3803, allocations: 11.86 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.3811, allocations: 208.6 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.3812, allocations: 35.86 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.3813, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.3814, allocations: 15.94 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.3814, allocations: 15.92 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3815, allocations: 4 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/0.3822, allocations: 419.5 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.3822, allocations: 7.984 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.3822, allocations: 19.86 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.3827, allocations: 195.9 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3827, allocations: 0 / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3827, allocations: 0 / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3827, allocations: 0 / 1.211 GB, free: 6.668 MB / 0.9669 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.0005711/0.3833, allocations: 396.8 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3833, allocations: 8.625 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.3834, allocations: 30.75 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3834, allocations: 8.844 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3836, allocations: 164.4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3836, allocations: 4.375 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3836, allocations: 4.359 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3838, allocations: 41.83 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3838, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3838, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3838, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.3839, allocations: 19.92 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.3841, allocations: 161.6 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3843, allocations: 42.58 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.3843, allocations: 12.86 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.3855, allocations: 0.9934 MB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3856, allocations: 38.44 kB / 1.212 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3856, allocations: 4 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/0.3858, allocations: 57.62 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3859, allocations: 51.41 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.386, allocations: 106.1 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.386, allocations: 25.7 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3861, allocations: 84.14 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.3861, allocations: 15.75 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3862, allocations: 17.72 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3863, allocations: 322.8 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3863, allocations: 4 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.3864, allocations: 4.188 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.3864, allocations: 24.94 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3864, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.3865, allocations: 57.56 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3866, allocations: 4 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3866, allocations: 4 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3866, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3867, allocations: 19.98 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3868, allocations: 8.062 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.3868, allocations: 4 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3868, allocations: 0 / 1.213 GB, free: 3.508 MB / 0.9669 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.285e-05/0.3869, allocations: 105.8 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.3869, allocations: 11.84 kB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.3871, allocations: 66.36 kB / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3871, allocations: 0 / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3871, allocations: 0 / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3871, allocations: 4 kB / 1.213 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3872, allocations: 157.7 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3873, allocations: 0 / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.3873, allocations: 23.92 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3874, allocations: 0 / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3874, allocations: 0 / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3874, allocations: 4 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3874, allocations: 0 / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.3875, allocations: 76.97 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.3876, allocations: 88.98 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3876, allocations: 4 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.3876, allocations: 7.984 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.3876, allocations: 3.938 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3877, allocations: 0 / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.3877, allocations: 83.28 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002717/0.388, allocations: 47.92 kB / 1.214 GB, free: 2.727 MB / 0.9669 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.0005848/0.3886, allocations: 0.6671 MB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3887, allocations: 23.92 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3887, allocations: 0 / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.3887, allocations: 8 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.389, allocations: 9.719 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.3896, allocations: 206.1 kB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3899, allocations: 0.6768 MB / 1.215 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.3899, allocations: 10.52 kB / 1.215 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.39, allocations: 15.44 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.39, allocations: 0 / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.4115, allocations: 2.193 MB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.948, allocations: 15.72 kB / 1.218 GB, free: 15.02 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 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.mat","/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