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.001628/0.001628, 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.00182/0.00182, allocations: 213.8 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.512/1.512, 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 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.825/2.825, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] 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.002171/0.002171, allocations: 67.72 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003125/0.3719, allocations: 1.32 MB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.3776, allocations: 3.532 MB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.3776, allocations: 3.938 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.3776, allocations: 0 / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.3782, allocations: 99.42 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.3787, allocations: 143.5 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.3788, allocations: 27.86 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.3788, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3789, allocations: 27.91 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3791, allocations: 31.91 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.3791, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.3796, allocations: 303.5 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.3796, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.3796, allocations: 11.92 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3799, allocations: 123.6 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3799, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3799, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3799, allocations: 0 / 1.289 GB, free: 6.328 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.0004616/0.3804, allocations: 286 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3804, allocations: 8.031 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3804, allocations: 4.938 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3806, allocations: 106.5 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3806, allocations: 4.375 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3806, allocations: 8.375 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3807, allocations: 37.77 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3807, allocations: 0 / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3807, allocations: 0 / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3807, allocations: 0 / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.3808, allocations: 7.984 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3809, allocations: 101.3 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.381, allocations: 18.61 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.381, allocations: 16.91 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.3812, allocations: 23.98 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3813, allocations: 34.5 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3813, allocations: 0 / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.3814, allocations: 45.64 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.3815, allocations: 55.39 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.3816, allocations: 101.9 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3816, allocations: 25.7 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.3816, allocations: 84.27 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.3817, allocations: 7.938 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3817, allocations: 21.72 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3819, allocations: 314.8 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3819, allocations: 4 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.3819, allocations: 4 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.3819, allocations: 16.8 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3819, allocations: 0 / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.593e-05/0.382, allocations: 37.94 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.382, allocations: 12.03 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.382, allocations: 4 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.382, allocations: 0 / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.3821, allocations: 8 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3821, allocations: 3.938 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.3821, allocations: 0 / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.3821, allocations: 0 / 1.291 GB, free: 4.781 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 9.979e-05/0.3822, allocations: 113.8 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.3822, allocations: 7.891 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3824, allocations: 56.94 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3824, allocations: 0 / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3824, allocations: 0 / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3824, allocations: 0 / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3825, allocations: 109.2 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3825, allocations: 0 / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.3825, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3825, allocations: 0 / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3825, allocations: 3.938 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3825, allocations: 4 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3825, allocations: 0 / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.3826, allocations: 73.09 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.3826, allocations: 3.953 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3827, allocations: 3.938 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.3827, allocations: 3.984 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3827, allocations: 4 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3827, allocations: 0 / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.3828, allocations: 83.28 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3828, allocations: 0 / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002146/0.383, allocations: 19.94 kB / 1.291 GB, free: 4.23 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.000228/0.3832, allocations: 145.2 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.3833, allocations: 8 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3833, allocations: 0 / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.812e-05/0.3833, allocations: 11.94 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3835, allocations: 5.875 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.3839, allocations: 153.9 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.384, allocations: 55.36 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.384, allocations: 23.53 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.384, allocations: 0 / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of Templates: time 0.002543/0.3865, allocations: 0.7314 MB / 1.292 GB, free: 3.051 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.581103849224746]