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.009312/0.009312, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001829/0.001829, allocations: 194.6 kB / 16.67 MB, free: 5.961 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.89 kB / 1.054 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9249/0.9264, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002982/0.9294, allocations: 1.367 MB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.9314, allocations: 1.083 MB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.9315, allocations: 4 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.9316, allocations: 3.938 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.9316, allocations: 7.922 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.9326, allocations: 211.3 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.9327, allocations: 31.86 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.669e-05/0.9328, allocations: 11.97 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.194e-05/0.9328, allocations: 11.94 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.9329, allocations: 19.92 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.9329, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.9337, allocations: 427.4 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.9337, allocations: 3.984 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.9337, allocations: 15.94 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.9342, allocations: 197.8 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9342, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9342, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.9342, allocations: 7.984 kB / 1.211 GB, free: 10.14 MB / 0.9356 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.000559/0.9348, allocations: 383.4 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.9349, allocations: 15.97 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.9349, allocations: 30.75 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.935, allocations: 4.844 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.9351, allocations: 168.3 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.9351, allocations: 384 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.9352, allocations: 4.375 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.9353, allocations: 45.75 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9353, allocations: 4 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.9353, allocations: 0 / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9353, allocations: 0 / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.9354, allocations: 19.98 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.9356, allocations: 161.7 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9358, allocations: 38.61 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.9358, allocations: 16.89 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.9368, allocations: 0.9856 MB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.9369, allocations: 42.42 kB / 1.212 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.9369, allocations: 8 kB / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001903/0.9371, allocations: 53.59 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9371, allocations: 55.41 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.9372, allocations: 101.9 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.9373, allocations: 29.69 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.9373, allocations: 84.14 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.9373, allocations: 15.8 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.9374, allocations: 17.66 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9375, allocations: 326.8 kB / 1.213 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.9375, allocations: 4 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.9376, allocations: 7.938 kB / 1.213 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.9376, allocations: 16.86 kB / 1.213 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9376, allocations: 4 kB / 1.213 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.662e-05/0.9377, allocations: 49.62 kB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9377, allocations: 8 kB / 1.213 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.9377, allocations: 0 / 1.213 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9378, allocations: 0 / 1.213 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.9379, allocations: 23.98 kB / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9379, allocations: 0 / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.9379, allocations: 0 / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.938, allocations: 4 kB / 1.213 GB, free: 6.996 MB / 0.9356 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 9.439e-05/0.9381, allocations: 109.8 kB / 1.213 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.9381, allocations: 7.844 kB / 1.213 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.9382, allocations: 68.25 kB / 1.213 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9382, allocations: 0 / 1.213 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9382, allocations: 0 / 1.213 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9383, allocations: 7.938 kB / 1.213 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.9384, allocations: 161.6 kB / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9384, allocations: 0 / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.9385, allocations: 23.92 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9385, allocations: 0 / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.9385, allocations: 0 / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9385, allocations: 0 / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9385, allocations: 4.312 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.9386, allocations: 77.11 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.9387, allocations: 88.95 kB / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.9387, allocations: 4 kB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.9387, allocations: 0 / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.9388, allocations: 7.984 kB / 1.214 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.9388, allocations: 4 kB / 1.214 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.9388, allocations: 79.28 kB / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9388, allocations: 0 / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002554/0.9391, allocations: 47.98 kB / 1.214 GB, free: 6.207 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.0005629/0.9397, allocations: 0.6728 MB / 1.215 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.9398, allocations: 23.98 kB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9398, allocations: 0 / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.9398, allocations: 11.94 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.9401, allocations: 8 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.9407, allocations: 197.8 kB / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.9409, allocations: 0.6807 MB / 1.215 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.941, allocations: 4 kB / 1.215 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.941, allocations: 11.44 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.941, allocations: 4 kB / 1.216 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.9617, allocations: 2.213 MB / 1.218 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.563, allocations: 7.797 kB / 1.218 GB, free: 2.508 MB / 0.9356 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