Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002122/0.002122, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00286/0.00286, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.8 MB / 0.7714 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002087/0.002087, allocations: 69.62 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002773/0.3788, allocations: 1.314 MB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.384, allocations: 3.867 MB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.384, allocations: 0 / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.384, allocations: 0 / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.3846, allocations: 111.4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3849, allocations: 138.3 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.385, allocations: 31.86 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.3851, allocations: 4 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3852, allocations: 31.84 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3853, allocations: 31.95 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3853, allocations: 4 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.3858, allocations: 311.6 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3859, allocations: 3.938 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.3859, allocations: 7.984 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3861, allocations: 123.6 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3861, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3861, allocations: 4 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3861, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 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.0004261/0.3866, allocations: 286 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3866, allocations: 8.031 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3866, allocations: 4.938 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3868, allocations: 106.5 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3868, allocations: 384 / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.3868, allocations: 8.312 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3869, allocations: 45.77 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3869, allocations: 0 / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3869, allocations: 3.938 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3869, allocations: 0 / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.3869, allocations: 7.984 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3871, allocations: 120.8 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.3872, allocations: 22.59 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.3872, allocations: 12.92 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.3874, allocations: 23.98 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.3875, allocations: 38.44 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3875, allocations: 0 / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.3876, allocations: 45.69 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3877, allocations: 51.41 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3878, allocations: 106 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3878, allocations: 29.7 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.3878, allocations: 84.14 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3878, allocations: 3.953 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3879, allocations: 17.72 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.388, allocations: 314.8 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.388, allocations: 0 / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.3881, allocations: 7.938 kB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.3881, allocations: 20.91 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3881, allocations: 0 / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.133e-05/0.3882, allocations: 45.59 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3882, allocations: 4 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3882, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3882, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.3883, allocations: 4 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3883, allocations: 0 / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.3883, allocations: 0 / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3883, allocations: 8.016 kB / 1.292 GB, free: 3.602 MB / 0.9825 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.027e-05/0.3884, allocations: 113.8 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.3884, allocations: 7.875 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3885, allocations: 49 kB / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3885, allocations: 0 / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3885, allocations: 0 / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3885, allocations: 3.938 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3886, allocations: 136.7 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3886, allocations: 4.031 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.3887, allocations: 3.938 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3887, allocations: 4 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.3887, allocations: 0 / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3887, allocations: 0 / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3887, allocations: 0 / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.3888, allocations: 69.06 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.3888, allocations: 11.83 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.3888, allocations: 4.031 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.3888, allocations: 0 / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3888, allocations: 4 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3888, allocations: 3.984 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.3889, allocations: 91.52 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3889, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002083/0.3891, allocations: 19.94 kB / 1.292 GB, free: 3.004 MB / 0.9825 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.0002247/0.3893, allocations: 131.1 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.3894, allocations: 12 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3894, allocations: 0 / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.3894, allocations: 11.94 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3897, allocations: 2.062 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.3901, allocations: 153.9 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3904, allocations: 0.6808 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.3904, allocations: 7.438 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3904, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of Templates: time 0.00258/0.393, allocations: 0.7279 MB / 1.294 GB, free: 1.223 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.304105549992528]