Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.075/3.075, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.98 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002441/0.3295, allocations: 1.312 MB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.3339, allocations: 3.538 MB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.334, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.334, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3345, allocations: 103.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3348, allocations: 142.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.3349, allocations: 31.84 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.3349, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.335, allocations: 23.86 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3351, allocations: 43.89 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.3351, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.3356, allocations: 295.6 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.3356, allocations: 3.984 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.3356, allocations: 7.938 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3358, allocations: 123.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3358, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3359, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3359, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003863/0.3362, allocations: 285.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3363, allocations: 12.03 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.3363, allocations: 30.75 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.3363, allocations: 8.891 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3364, allocations: 114.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3364, allocations: 384 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3365, allocations: 384 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.3365, allocations: 37.64 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3366, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.3366, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3366, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.3366, allocations: 11.92 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3368, allocations: 120.8 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.3368, allocations: 26.61 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.3368, allocations: 12.91 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.337, allocations: 23.92 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3371, allocations: 34.56 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.776e-06/0.3371, allocations: 3.984 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.3372, allocations: 41.64 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3372, allocations: 59.39 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.3373, allocations: 97.98 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3373, allocations: 29.7 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3374, allocations: 80.14 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3374, allocations: 7.953 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.3374, allocations: 13.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3376, allocations: 318.8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.3376, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.3376, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.3376, allocations: 16.8 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3376, allocations: 7.938 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.795e-05/0.3377, allocations: 49.89 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3377, allocations: 5.875 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3377, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3377, allocations: 7.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.3378, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3378, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.3378, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.3378, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.214e-05/0.3379, allocations: 109.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.3379, allocations: 7.938 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.338, allocations: 52.97 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.338, allocations: 0 / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.338, allocations: 0 / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.338, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3381, allocations: 128.7 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3381, allocations: 3.938 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.3382, allocations: 4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3382, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3382, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3382, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3382, allocations: 4.031 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.3383, allocations: 69.06 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.3383, allocations: 11.89 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3383, allocations: 3.984 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.3383, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.3383, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3383, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.3384, allocations: 83.28 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3384, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002086/0.3386, allocations: 27.92 kB / 1.332 GB, free: 10.52 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0004672/0.339, allocations: 0.6319 MB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.3391, allocations: 15.94 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3391, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.3391, allocations: 7.938 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3394, allocations: 4 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3398, allocations: 169.9 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.3399, allocations: 71.22 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.3399, allocations: 4 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.3399, allocations: 11.44 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3399, allocations: 0 / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3678, allocations: 2.164 MB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.61, allocations: 2.234 kB / 1.335 GB, free: 7.496 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.181478458922356]