Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00774/0.00774, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001513/0.001513, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.84 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3421, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00284/0.3449, allocations: 1.37 MB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3468, allocations: 1.072 MB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.3468, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.3469, allocations: 7.938 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.347, allocations: 11.88 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.3477, allocations: 218.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.3478, allocations: 31.86 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.3479, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.3479, allocations: 23.91 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.348, allocations: 15.92 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.348, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.3487, allocations: 423.5 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3487, allocations: 8 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.3487, allocations: 11.92 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.3491, allocations: 203.6 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3491, allocations: 0 / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3491, allocations: 0 / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3491, allocations: 0 / 1.17 GB, free: 3.844 MB / 0.92 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.0004897/0.3496, allocations: 398.7 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3497, allocations: 11.98 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3497, allocations: 34.73 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.3498, allocations: 4.938 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3499, allocations: 168.3 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3499, allocations: 4.375 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3499, allocations: 384 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.35, allocations: 41.81 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3501, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3501, allocations: 8 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3501, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.3501, allocations: 19.92 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3503, allocations: 157.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.3504, allocations: 42.55 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.3505, allocations: 16.89 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009711/0.3514, allocations: 0.9895 MB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3515, allocations: 34.5 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3515, allocations: 4 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.3517, allocations: 57.62 kB / 1.171 GB, free: 1.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3517, allocations: 55.41 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.3518, allocations: 105.8 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3518, allocations: 25.7 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3519, allocations: 80.14 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3519, allocations: 19.89 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.352, allocations: 13.72 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3521, allocations: 318.8 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3521, allocations: 7.984 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.3521, allocations: 4 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.3522, allocations: 28.8 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3522, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.551e-05/0.3523, allocations: 57.58 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3523, allocations: 6.031 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3523, allocations: 0 / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3523, allocations: 3.938 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3525, allocations: 15.98 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3525, allocations: 4 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.3525, allocations: 4 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3525, allocations: 4 kB / 1.172 GB, free: 0.6797 MB / 0.92 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.079e-05/0.3526, allocations: 105.8 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.3526, allocations: 11.89 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.3527, allocations: 65.53 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3528, allocations: 3.984 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3528, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3528, allocations: 4 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.3529, allocations: 165.6 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3529, allocations: 0 / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.353, allocations: 19.92 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.353, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.353, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.353, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.353, allocations: 4 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3531, allocations: 81.42 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3532, allocations: 89 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3532, allocations: 0 / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3532, allocations: 3.938 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.3532, allocations: 4 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3533, allocations: 0 / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.3533, allocations: 91.27 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3533, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002391/0.3536, allocations: 39.86 kB / 1.173 GB, free: 15.89 MB / 0.9356 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.0005143/0.3541, allocations: 0.6707 MB / 1.173 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.3542, allocations: 16 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3542, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.3542, allocations: 11.98 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3545, allocations: 12.48 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.355, allocations: 211.5 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3552, allocations: 0.6807 MB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.3552, allocations: 10.94 kB / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3553, allocations: 7.438 kB / 1.174 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3553, allocations: 0 / 1.174 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.376, allocations: 2.194 MB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.182, allocations: 11.03 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches