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.001648/0.001648, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002066/0.002066, allocations: 221.8 kB / 22.25 MB, free: 5.254 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.789 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.061/3.061, allocations: 0.49 GB / 0.7951 GB, free: 35.7 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.001932/0.001932, allocations: 67.16 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002477/0.3638, allocations: 1.313 MB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004593/0.3684, allocations: 3.538 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.3685, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.3685, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.369, allocations: 111.4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.3693, allocations: 133 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.722e-05/0.3694, allocations: 35.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.3694, allocations: 3.984 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3695, allocations: 27.91 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3697, allocations: 39.91 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.3697, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.3702, allocations: 311.6 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.3702, allocations: 3.984 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.3702, allocations: 7.938 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3704, allocations: 123.9 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3704, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3704, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3704, allocations: 3.938 kB / 1.331 GB, free: 11.86 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.0004356/0.3709, allocations: 290.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3709, allocations: 11.97 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.371, allocations: 30.75 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.371, allocations: 4.938 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3711, allocations: 110.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3711, allocations: 384 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.3711, allocations: 384 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3712, allocations: 45.56 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3712, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3712, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3712, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.3713, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3714, allocations: 124.8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.3715, allocations: 22.58 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.3715, allocations: 8.922 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.3717, allocations: 27.92 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3718, allocations: 34.5 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3718, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.3719, allocations: 45.69 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.372, allocations: 51.41 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.3721, allocations: 106 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3721, allocations: 33.7 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.3721, allocations: 80.14 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3721, allocations: 7.938 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3722, allocations: 13.72 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3723, allocations: 314.8 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.3723, allocations: 4 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.3723, allocations: 3.984 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.3724, allocations: 20.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3724, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.774e-05/0.3724, allocations: 49.59 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3725, allocations: 8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3725, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3725, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.3725, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3725, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.3725, allocations: 3.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.3726, allocations: 0 / 1.333 GB, free: 10.23 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 8.652e-05/0.3726, allocations: 113.8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3726, allocations: 3.938 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3728, allocations: 60.91 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3728, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3728, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3728, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3729, allocations: 124.7 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3729, allocations: 7.922 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.3729, allocations: 4 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3729, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3729, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3729, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3729, allocations: 8.031 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.271e-05/0.373, allocations: 65.06 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.373, allocations: 11.89 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.373, allocations: 0 / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.3731, allocations: 0 / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3731, allocations: 7.984 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3731, allocations: 256 / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.3731, allocations: 91.27 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002656/0.3734, allocations: 19.94 kB / 1.333 GB, free: 9.652 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.0004708/0.3739, allocations: 0.6396 MB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.3739, allocations: 15.98 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3739, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.374, allocations: 4 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.3742, allocations: 3.938 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.3746, allocations: 165.9 kB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.3746, allocations: 71.28 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.3746, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3747, allocations: 15.44 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3747, allocations: 0 / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.4027, allocations: 2.177 MB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.85, allocations: 8.438 kB / 1.336 GB, free: 6.605 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 17.26461539801676]