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.001726/0.001726, 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.002217/0.002217, allocations: 211.2 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.785 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.641/3.641, 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: 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.002788/0.002788, allocations: 66.45 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4698, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00275/0.4726, allocations: 1.32 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005419/0.478, allocations: 3.527 MB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.478, allocations: 0 / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.478, allocations: 7.938 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.4785, allocations: 103.5 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.4789, allocations: 131.6 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.479, allocations: 27.86 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.479, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4792, allocations: 27.91 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.4793, allocations: 47.83 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4793, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.4798, allocations: 287.6 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.4798, allocations: 0 / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.4798, allocations: 11.92 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4801, allocations: 123.6 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4801, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4801, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.4801, allocations: 4 kB / 1.369 GB, free: 7.914 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.0004699/0.4806, allocations: 287.3 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4806, allocations: 12.03 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.4806, allocations: 0.9375 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.4809, allocations: 110.5 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4809, allocations: 384 / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4809, allocations: 4.312 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.481, allocations: 33.83 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.481, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.481, allocations: 3.984 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.481, allocations: 4 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.4811, allocations: 7.984 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.4812, allocations: 105.4 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.4813, allocations: 26.52 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.4813, allocations: 16.84 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.4815, allocations: 15.98 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4816, allocations: 34.56 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4816, allocations: 0 / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.4817, allocations: 49.59 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.4818, allocations: 55.52 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4819, allocations: 105.9 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4819, allocations: 25.7 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.482, allocations: 84.14 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.482, allocations: 7.953 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.4821, allocations: 21.64 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4822, allocations: 310.8 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.4822, allocations: 7.938 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.4822, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.4823, allocations: 16.86 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4823, allocations: 4.062 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.346e-05/0.4824, allocations: 41.69 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4824, allocations: 7.938 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4824, allocations: 4 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4824, allocations: 0 / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.4824, allocations: 0 / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4824, allocations: 4 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.4825, allocations: 3.938 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.4825, allocations: 0 / 1.371 GB, free: 6.359 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 9.236e-05/0.4826, allocations: 105.8 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4826, allocations: 11.97 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4827, allocations: 45 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4827, allocations: 4 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4827, allocations: 0 / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4827, allocations: 0 / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.4828, allocations: 117.2 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4828, allocations: 0 / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.4828, allocations: 4 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4828, allocations: 0 / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4828, allocations: 3.969 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4828, allocations: 4 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4828, allocations: 3.938 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.4829, allocations: 69.06 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.483, allocations: 4 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.483, allocations: 3.938 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.483, allocations: 3.984 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.483, allocations: 0 / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.483, allocations: 4 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.4831, allocations: 87.53 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4831, allocations: 0 / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002261/0.4833, allocations: 23.97 kB / 1.371 GB, free: 5.812 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.0002181/0.4835, allocations: 131 kB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4836, allocations: 15.94 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4836, allocations: 0 / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.4836, allocations: 4 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.4839, allocations: 7.984 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.4842, allocations: 128.3 kB / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.4842, allocations: 63.3 kB / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.4843, allocations: 3.984 kB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.4843, allocations: 11.44 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4843, allocations: 0 / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of Templates: time 0.00367/0.488, allocations: 0.7568 MB / 1.372 GB, free: 4.652 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/jenkins/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: 9.951987290754914]