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.001631/0.001631, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001784/0.001784, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.409/3.409, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [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.002091/0.002091, allocations: 63.97 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002946/0.3881, allocations: 1.31 MB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.3937, allocations: 3.535 MB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.3937, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.3938, allocations: 4 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.3944, allocations: 99.48 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.3948, allocations: 139.5 kB / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.3949, allocations: 27.86 kB / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.395, allocations: 0 / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3951, allocations: 31.84 kB / 1.37 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3952, allocations: 31.97 kB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3952, allocations: 0 / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.3958, allocations: 295.5 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.3959, allocations: 7.938 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.3959, allocations: 7.984 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3962, allocations: 123.6 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3962, allocations: 0 / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3962, allocations: 0 / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3962, allocations: 4 kB / 1.37 GB, free: 7.988 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.0004877/0.3967, allocations: 291.5 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3967, allocations: 8.031 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.3968, allocations: 0.9375 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3969, allocations: 106.5 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3969, allocations: 4.375 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.3969, allocations: 384 / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.397, allocations: 37.83 kB / 1.371 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.397, allocations: 3.938 kB / 1.371 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.397, allocations: 3.984 kB / 1.371 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3971, allocations: 4 kB / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.3971, allocations: 7.938 kB / 1.371 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3973, allocations: 101.4 kB / 1.371 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.3973, allocations: 18.58 kB / 1.371 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.3974, allocations: 12.91 kB / 1.371 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.3976, allocations: 23.98 kB / 1.371 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3976, allocations: 34.56 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3976, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.3978, allocations: 53.52 kB / 1.371 GB, free: 7.176 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3979, allocations: 55.41 kB / 1.371 GB, free: 7.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.398, allocations: 93.86 kB / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.398, allocations: 25.7 kB / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.398, allocations: 88.27 kB / 1.371 GB, free: 6.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3981, allocations: 15.88 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3981, allocations: 13.72 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3983, allocations: 314.8 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.3983, allocations: 4 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.3983, allocations: 0 / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.3983, allocations: 16.8 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3983, allocations: 256 / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.972e-05/0.3984, allocations: 41.69 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3984, allocations: 7.938 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3984, allocations: 12.09 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3985, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.3985, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3985, allocations: 4 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.3985, allocations: 3.984 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3985, allocations: 0 / 1.371 GB, free: 6.438 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 8.749e-05/0.3986, allocations: 106.9 kB / 1.372 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.3987, allocations: 11.92 kB / 1.372 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3988, allocations: 48.95 kB / 1.372 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3988, allocations: 8.031 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3988, allocations: 0 / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3988, allocations: 3.984 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3989, allocations: 105.2 kB / 1.372 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3989, allocations: 0 / 1.372 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.3989, allocations: 7.938 kB / 1.372 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3989, allocations: 0 / 1.372 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3989, allocations: 3.938 kB / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3989, allocations: 0 / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3989, allocations: 0 / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.399, allocations: 73.06 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.3991, allocations: 8 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3991, allocations: 7.922 kB / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.3991, allocations: 0 / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3991, allocations: 0 / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3991, allocations: 4 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.3992, allocations: 79.28 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3992, allocations: 0 / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002228/0.3994, allocations: 27.92 kB / 1.372 GB, free: 5.891 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.0002542/0.3997, allocations: 135.1 kB / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.761e-05/0.3997, allocations: 8 kB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3997, allocations: 0 / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.855e-05/0.3998, allocations: 11.92 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4, allocations: 8 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.4004, allocations: 152.9 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.302e-05/0.4005, allocations: 63.34 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.4005, allocations: 11.56 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4005, allocations: 0 / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of Templates: time 0.002762/0.4032, allocations: 0.7313 MB / 1.373 GB, free: 4.719 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/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: 11.751200465951115]