Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001316/0.001316, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001413/0.001413, allocations: 211 kB / 22.24 MB, free: 4.855 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.34/3.34, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_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.002843/0.002843, allocations: 69.22 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3855, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003271/0.3888, allocations: 1.308 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005719/0.3945, allocations: 3.527 MB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.3945, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.3946, allocations: 7.875 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.3952, allocations: 111.5 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.3956, allocations: 127.5 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.3957, allocations: 27.91 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.3957, allocations: 4 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3959, allocations: 23.91 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.396, allocations: 35.84 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.396, allocations: 4 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.3966, allocations: 299.6 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.3966, allocations: 3.984 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.3966, allocations: 11.94 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3969, allocations: 115.9 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3969, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3969, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3969, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 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.0004705/0.3973, allocations: 289.9 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3974, allocations: 12.03 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3974, allocations: 30.75 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.3975, allocations: 4.938 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3976, allocations: 114.5 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3976, allocations: 384 / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.3976, allocations: 384 / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3977, allocations: 37.62 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3977, allocations: 0 / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3977, allocations: 0 / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3977, allocations: 0 / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.3978, allocations: 4 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.3979, allocations: 140.7 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.398, allocations: 26.58 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.398, allocations: 12.86 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.3982, allocations: 19.92 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3983, allocations: 38.55 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3983, allocations: 0 / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/0.3984, allocations: 45.59 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3985, allocations: 55.41 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.3986, allocations: 102 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3986, allocations: 29.7 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.3986, allocations: 84.14 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3987, allocations: 7.953 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3987, allocations: 13.72 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3988, allocations: 314.8 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.3989, allocations: 3.984 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.3989, allocations: 8 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.3989, allocations: 12.86 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3989, allocations: 0 / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.65e-05/0.399, allocations: 49.64 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.399, allocations: 4 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.399, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.399, allocations: 4 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.3991, allocations: 3.984 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3991, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.3991, allocations: 4 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3991, allocations: 0 / 1.37 GB, free: 6.801 MB / 1.061 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 7.897e-05/0.3992, allocations: 105.8 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3992, allocations: 7.938 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3993, allocations: 49.03 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3993, allocations: 3.938 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3993, allocations: 4 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3993, allocations: 0 / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3994, allocations: 132.6 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3994, allocations: 3.938 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.3995, allocations: 4 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3995, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3995, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3995, allocations: 32 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3995, allocations: 4 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3996, allocations: 69.06 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3996, allocations: 7.938 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3996, allocations: 4.25 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.3996, allocations: 4 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.3996, allocations: 0 / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3997, allocations: 4 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.3997, allocations: 83.27 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 3.938 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000217/0.3999, allocations: 19.94 kB / 1.371 GB, free: 6.227 MB / 1.061 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.0005325/0.4005, allocations: 0.6357 MB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.4005, allocations: 11.98 kB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4005, allocations: 0 / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.4006, allocations: 7.938 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.4008, allocations: 8 kB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.4013, allocations: 177.9 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.4013, allocations: 59.3 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.4014, allocations: 7.906 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.4014, allocations: 11.42 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4014, allocations: 0 / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.4318, allocations: 2.162 MB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 7.922 kB / 1.374 GB, free: 3.195 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.791919774841517]