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.001706/0.001706, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001854/0.001854, allocations: 210.5 kB / 23 MB, free: 4.934 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.416/3.416, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002885/0.002885, allocations: 71.59 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4856, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002965/0.4885, allocations: 1.312 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005758/0.4943, allocations: 3.538 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.4943, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.4944, allocations: 3.984 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.495, allocations: 99.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.4954, allocations: 139.5 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.4955, allocations: 19.94 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.4956, allocations: 7.984 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.4957, allocations: 27.91 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.4958, allocations: 39.84 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.4958, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.4964, allocations: 311.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.4964, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.4964, allocations: 11.88 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4966, allocations: 135.5 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4967, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4967, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4967, allocations: 0 / 1.333 GB, free: 11.36 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.000464/0.4971, allocations: 282 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4972, allocations: 12.03 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.4972, allocations: 0.9375 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.4973, allocations: 114.5 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4973, allocations: 4.375 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4973, allocations: 384 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4975, allocations: 37.81 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4975, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4975, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4975, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.4975, allocations: 4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.4977, allocations: 109.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.4977, allocations: 26.61 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.4978, allocations: 4.859 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.498, allocations: 24.05 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.498, allocations: 38.55 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.498, allocations: 4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.4982, allocations: 45.58 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.4982, allocations: 51.41 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.4983, allocations: 105.8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4984, allocations: 25.7 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.4984, allocations: 88.2 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4984, allocations: 7.953 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.4985, allocations: 13.72 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4986, allocations: 314.8 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.4986, allocations: 3.984 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.4986, allocations: 4 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.4987, allocations: 12.86 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4987, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.557e-05/0.4988, allocations: 49.59 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4988, allocations: 4.094 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4988, allocations: 7.938 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4988, allocations: 0 / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.4989, allocations: 7.984 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4989, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.4989, allocations: 3.984 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4989, allocations: 7.938 kB / 1.334 GB, free: 9.797 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.268e-05/0.499, allocations: 107.5 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.499, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.4991, allocations: 56.94 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4991, allocations: 3.938 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4991, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.4991, allocations: 7.938 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4991, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.4992, allocations: 4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.4992, allocations: 3.984 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001091/0.4993, allocations: 109 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001665/0.4995, allocations: 222.7 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.317e-05/0.4995, allocations: 8 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.4995, allocations: 87.36 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of Backend: time 1.2e-07/0.4995, allocations: 0 / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.5001, allocations: 136.3 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006643/0.5007, allocations: 0.5791 MB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of Templates: time 0.004448/0.5052, allocations: 1.442 MB / 1.337 GB, free: 6.965 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] 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: 9.68530536400067]