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.00166/0.00166, allocations: 108 kB / 15.61 MB, free: 148 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.001735/0.001735, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.451/2.451, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9165, allocations: 140.4 MB / 0.9498 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002637/0.9192, allocations: 1.353 MB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.9209, allocations: 1.082 MB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.9209, allocations: 4 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.921, allocations: 5.484 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.921, allocations: 3.938 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.9217, allocations: 217.2 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.9218, allocations: 29.83 kB / 0.9524 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.9218, allocations: 6.531 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.9219, allocations: 18.61 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.922, allocations: 16.89 kB / 0.9524 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.922, allocations: 1.094 kB / 0.9524 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.9226, allocations: 427.1 kB / 0.9529 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.9226, allocations: 5.328 kB / 0.9529 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.9227, allocations: 9.281 kB / 0.9529 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.923, allocations: 199 kB / 0.9531 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.923, allocations: 1.156 kB / 0.9531 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.985e-06/0.923, allocations: 0 / 0.9531 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.923, allocations: 7.938 kB / 0.9531 GB, free: 6.598 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.000414/0.9235, allocations: 387.1 kB / 0.9534 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9235, allocations: 8.938 kB / 0.9534 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.9235, allocations: 31.88 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.9236, allocations: 3.875 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.9237, allocations: 173.7 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.9237, allocations: 2.656 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.9237, allocations: 384 / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.9238, allocations: 47.66 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.9238, allocations: 1.062 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9238, allocations: 4 kB / 0.9537 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9239, allocations: 1.188 kB / 0.9537 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.9239, allocations: 10.98 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.9241, allocations: 161.2 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.9242, allocations: 46.55 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.9242, allocations: 15.2 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/0.925, allocations: 0.9828 MB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.925, allocations: 47.8 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.925, allocations: 0 / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001615/0.9252, allocations: 52.77 kB / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.9252, allocations: 60.52 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.9253, allocations: 102.9 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.9253, allocations: 25.7 kB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.9254, allocations: 89.31 kB / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.9254, allocations: 9.031 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.9254, allocations: 21.91 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.9255, allocations: 316.2 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.9255, allocations: 4.469 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.9255, allocations: 7.906 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.9256, allocations: 22.7 kB / 0.9556 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9256, allocations: 0.9688 kB / 0.9556 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.482e-05/0.9257, allocations: 57.25 kB / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9257, allocations: 5 kB / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9257, allocations: 48 / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9257, allocations: 9.109 kB / 0.9557 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9259, allocations: 15.92 kB / 0.9557 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.9259, allocations: 0 / 0.9557 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.9259, allocations: 5.219 kB / 0.9557 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.9259, allocations: 1.469 kB / 0.9557 GB, free: 3.676 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 5.57e-05/0.926, allocations: 111.6 kB / 0.9558 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.926, allocations: 5.5 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.9261, allocations: 63.86 kB / 0.9559 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9261, allocations: 5.031 kB / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9261, allocations: 3.938 kB / 0.9559 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9261, allocations: 0.7188 kB / 0.9559 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.428e-05/0.9262, allocations: 161.5 kB / 0.956 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9262, allocations: 0 / 0.956 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.9263, allocations: 18.95 kB / 0.956 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9263, allocations: 1.281 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.9263, allocations: 0 / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9263, allocations: 5.531 kB / 0.9561 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9263, allocations: 0 / 0.9561 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.427e-05/0.9264, allocations: 81.53 kB / 0.9561 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.9265, allocations: 86.02 kB / 0.9562 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9265, allocations: 1.094 kB / 0.9562 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.9265, allocations: 1.188 kB / 0.9562 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.9265, allocations: 5.359 kB / 0.9562 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.9266, allocations: 1.219 kB / 0.9562 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.9266, allocations: 88.72 kB / 0.9563 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9266, allocations: 0 / 0.9563 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002407/0.9268, allocations: 44.27 kB / 0.9564 GB, free: 2.992 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.0004399/0.9273, allocations: 0.6712 MB / 0.957 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.9274, allocations: 25.67 kB / 0.957 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9274, allocations: 0 / 0.957 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.9274, allocations: 12.44 kB / 0.957 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.9277, allocations: 12.66 kB / 0.9571 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.9282, allocations: 195.8 kB / 0.9572 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.9284, allocations: 0.6833 MB / 0.9579 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.9284, allocations: 7.141 kB / 0.9579 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.9285, allocations: 14.77 kB / 0.9579 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9285, allocations: 0 / 0.9579 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.9477, allocations: 2.157 MB / 0.96 GB, free: 352 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.718, allocations: 20.3 kB / 0.9601 GB, free: 344 kB / 0.7169 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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