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.001535/0.001535, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001799/0.001799, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.809 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.866/2.866, allocations: 475.9 MB / 0.7699 GB, free: 4.773 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.002187/0.002187, allocations: 67.42 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4083, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002794/0.411, allocations: 1.314 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.4161, allocations: 3.532 MB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.4161, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.4161, allocations: 3.938 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.4167, allocations: 103.5 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.417, allocations: 131.5 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.4171, allocations: 31.84 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.4171, allocations: 3.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4172, allocations: 23.92 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4174, allocations: 43.83 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.4174, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.4179, allocations: 291.6 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.4179, allocations: 3.984 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.418, allocations: 11.92 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.4182, allocations: 115.7 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4182, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4182, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4182, allocations: 4 kB / 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.0005102/0.4187, allocations: 286 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4188, allocations: 8.031 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4188, allocations: 8.875 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4189, allocations: 118.4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.4189, allocations: 384 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.419, allocations: 384 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.4191, allocations: 37.83 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4191, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.4191, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4191, allocations: 4 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.4191, allocations: 7.984 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.4193, allocations: 101.4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.4193, allocations: 26.52 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.4194, allocations: 12.91 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.4196, allocations: 19.98 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4196, allocations: 34.56 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4196, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.4198, allocations: 41.64 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.4198, allocations: 59.39 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.4199, allocations: 93.98 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4199, allocations: 29.7 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.42, allocations: 88.14 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.42, allocations: 11.88 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.42, allocations: 17.72 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4202, allocations: 314.8 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.4202, allocations: 4 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.4202, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.4203, allocations: 12.86 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4203, allocations: 0 / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.26e-05/0.4203, allocations: 46 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4204, allocations: 7.938 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4204, allocations: 4 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4204, allocations: 4 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.4204, allocations: 7.938 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4204, allocations: 3.938 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.4205, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.4205, allocations: 0 / 1.29 GB, free: 4.773 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 7.86e-05/0.4205, allocations: 111.5 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.4206, allocations: 11.89 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.4207, allocations: 57.02 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4207, allocations: 4 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4207, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4207, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.056e-05/0.4208, allocations: 105.2 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4208, allocations: 0 / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.4208, allocations: 4 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4208, allocations: 0 / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4208, allocations: 3.938 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4208, allocations: 3.938 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4208, allocations: 4.031 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.554e-05/0.4209, allocations: 65.12 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.4209, allocations: 11.95 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4209, allocations: 3.938 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.421, allocations: 3.984 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.421, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.421, allocations: 4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.421, allocations: 79.28 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.421, allocations: 0 / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002136/0.4212, allocations: 19.94 kB / 1.29 GB, free: 4.223 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.0002098/0.4215, allocations: 139.1 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.4215, allocations: 7.938 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4215, allocations: 4 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.4215, allocations: 4 kB / 1.29 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.0002213/0.4218, allocations: 7.984 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.4221, allocations: 136.3 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.395e-05/0.4221, allocations: 59.36 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.4222, allocations: 11.92 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.4222, allocations: 7.438 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4222, allocations: 0 / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of Templates: time 0.003244/0.4254, allocations: 0.771 MB / 1.291 GB, free: 3.043 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/jenkins/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: 9.631559511646628]