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.001584/0.001584, allocations: 103.8 kB / 16.45 MB, free: 6.453 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.001395/0.001395, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.219/3.219, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.002094/0.002094, allocations: 72.72 kB / 1.172 GB, free: 17.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003147/0.3795, allocations: 1.318 MB / 1.349 GB, free: 8.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004771/0.3843, allocations: 3.831 MB / 1.353 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.3843, allocations: 0 / 1.353 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.3843, allocations: 3.938 kB / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.3848, allocations: 107.5 kB / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3851, allocations: 135.6 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.3852, allocations: 27.86 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.3853, allocations: 3.984 kB / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3854, allocations: 23.92 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3855, allocations: 43.83 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3855, allocations: 0 / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.386, allocations: 307.6 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.386, allocations: 0 / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.386, allocations: 15.94 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3862, allocations: 119.9 kB / 1.354 GB, free: 4.047 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3862, allocations: 0 / 1.354 GB, free: 4.047 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3862, allocations: 0 / 1.354 GB, free: 4.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.3863, allocations: 0 / 1.354 GB, free: 4.047 MB / 1.045 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.0004598/0.3867, allocations: 363.1 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3868, allocations: 19.92 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.3868, allocations: 30.75 kB / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.3868, allocations: 4.891 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.387, allocations: 168.3 kB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.387, allocations: 4.375 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.387, allocations: 384 / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.3871, allocations: 41.62 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3871, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3871, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3871, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.3872, allocations: 4 kB / 1.354 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3873, allocations: 153.7 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.3874, allocations: 30.53 kB / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.3874, allocations: 16.86 kB / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.3877, allocations: 105 kB / 1.354 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3877, allocations: 30.56 kB / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3877, allocations: 0 / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.3878, allocations: 49.66 kB / 1.355 GB, free: 2.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3879, allocations: 55.39 kB / 1.355 GB, free: 2.785 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.388, allocations: 101.9 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.388, allocations: 25.7 kB / 1.355 GB, free: 2.645 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.388, allocations: 84.14 kB / 1.355 GB, free: 2.559 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3881, allocations: 7.922 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3881, allocations: 21.66 kB / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3882, allocations: 319 kB / 1.355 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.3883, allocations: 0 / 1.355 GB, free: 2.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.3883, allocations: 4 kB / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.3883, allocations: 12.86 kB / 1.355 GB, free: 2.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3883, allocations: 0 / 1.355 GB, free: 2.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.872e-05/0.3884, allocations: 45.62 kB / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3884, allocations: 4 kB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3884, allocations: 0 / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3884, allocations: 0 / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.3885, allocations: 12.03 kB / 1.355 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3885, allocations: 0 / 1.355 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.3885, allocations: 0 / 1.355 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3885, allocations: 4 kB / 1.355 GB, free: 2.113 MB / 1.045 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.832e-05/0.3886, allocations: 109.8 kB / 1.355 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.3886, allocations: 3.938 kB / 1.355 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.3887, allocations: 52.75 kB / 1.355 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3887, allocations: 4.031 kB / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3887, allocations: 0 / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3887, allocations: 0 / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3889, allocations: 157.6 kB / 1.356 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.3889, allocations: 3.938 kB / 1.356 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.389, allocations: 7.984 kB / 1.356 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.389, allocations: 0 / 1.356 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.389, allocations: 4 kB / 1.356 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.389, allocations: 7.875 kB / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.389, allocations: 0 / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.3891, allocations: 65.09 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3891, allocations: 89.03 kB / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3891, allocations: 0 / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.3891, allocations: 0 / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.3891, allocations: 0 / 1.356 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3891, allocations: 4 kB / 1.356 GB, free: 1.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.3892, allocations: 91.52 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3892, allocations: 0 / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001974/0.3894, allocations: 23.97 kB / 1.356 GB, free: 1.398 MB / 1.045 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.0005125/0.3899, allocations: 0.6318 MB / 1.356 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.39, allocations: 8 kB / 1.356 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.39, allocations: 4 kB / 1.356 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.39, allocations: 12.08 kB / 1.356 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3902, allocations: 1.719 kB / 1.356 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3907, allocations: 169.2 kB / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.391, allocations: 0.6768 MB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.391, allocations: 8.062 kB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.3911, allocations: 11.44 kB / 1.357 GB, free: 15.79 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3911, allocations: 0 / 1.357 GB, free: 15.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4152, allocations: 1.674 MB / 1.359 GB, free: 14.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.449, allocations: 3.938 kB / 1.359 GB, free: 14.26 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.297399832867086]