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.001647/0.001647, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001763/0.001763, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.687/2.687, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002117/0.002117, allocations: 59.91 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002519/0.3189, allocations: 1.301 MB / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.3238, allocations: 3.542 MB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.3239, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.3239, allocations: 3.938 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.3244, allocations: 99.5 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3247, allocations: 143.4 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.3248, allocations: 27.92 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.3248, allocations: 4 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3249, allocations: 23.86 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.325, allocations: 39.89 kB / 1.123 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.325, allocations: 4 kB / 1.123 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.3256, allocations: 291.6 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.3256, allocations: 3.938 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.3256, allocations: 4 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3258, allocations: 123.6 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3258, allocations: 4 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3258, allocations: 0 / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3259, allocations: 0 / 1.123 GB, free: 12.9 MB / 1.076 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.0004325/0.3263, allocations: 278 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3263, allocations: 12.03 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3264, allocations: 0.9375 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3265, allocations: 118.4 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3265, allocations: 384 / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3265, allocations: 384 / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.3266, allocations: 41.8 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3266, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.3266, allocations: 4 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3266, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.3266, allocations: 4 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3268, allocations: 105.3 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.3269, allocations: 34.48 kB / 1.124 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.3269, allocations: 4.859 kB / 1.124 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.3271, allocations: 20.05 kB / 1.124 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3271, allocations: 42.55 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3271, allocations: 0 / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.3273, allocations: 41.64 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3273, allocations: 55.41 kB / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.3274, allocations: 105.8 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3274, allocations: 29.64 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.3275, allocations: 80.14 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3275, allocations: 15.89 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.3275, allocations: 9.719 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3277, allocations: 318.8 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.3277, allocations: 128 / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.3277, allocations: 8 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.3277, allocations: 12.86 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3277, allocations: 0 / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.691e-05/0.3278, allocations: 45.66 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3278, allocations: 7.938 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3278, allocations: 0 / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3278, allocations: 0 / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.3279, allocations: 11.92 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3279, allocations: 0 / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.3279, allocations: 8.344 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.3279, allocations: 0 / 1.124 GB, free: 11.34 MB / 1.076 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 7.366e-05/0.328, allocations: 105.8 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.328, allocations: 11.94 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3281, allocations: 45 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3281, allocations: 0 / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3281, allocations: 0 / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3281, allocations: 4 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.3282, allocations: 105.3 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3282, allocations: 4.031 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.3282, allocations: 0 / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3282, allocations: 4 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3283, allocations: 11.81 kB / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3283, allocations: 0 / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3283, allocations: 0 / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/0.3283, allocations: 65.12 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.3284, allocations: 3.953 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3284, allocations: 7.938 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.3284, allocations: 0 / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.3284, allocations: 4.031 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3284, allocations: 4 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.3285, allocations: 87.2 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 0 / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000214/0.3287, allocations: 23.94 kB / 1.125 GB, free: 10.8 MB / 1.076 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.0001989/0.3289, allocations: 127.1 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.329, allocations: 15.94 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.329, allocations: 0 / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.329, allocations: 4 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.3292, allocations: 10.19 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.3295, allocations: 135.9 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.3295, allocations: 63.34 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.3296, allocations: 0 / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.3296, allocations: 12.5 kB / 1.125 GB, free: 10.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.3296, allocations: 4 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of Templates: time 0.003191/0.3328, allocations: 0.7635 MB / 1.126 GB, free: 9.633 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.435335843008943]