Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001103/0.001103, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002838, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008598/0.0008598, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009207/0.00178, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8796/0.8796, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07771/0.9573, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.286/2.286, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2373/2.523, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.964e-05, allocations: 2.312 kB / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.0018/0.001819, allocations: 1.391 MB / 0.8203 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.004733, allocations: 3.868 MB / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.004751, allocations: 4 kB / 0.8241 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.651e-06/0.004756, allocations: 0 / 0.8241 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.004974, allocations: 103.4 kB / 0.8242 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.005141, allocations: 107.5 kB / 0.8243 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.005182, allocations: 35.8 kB / 0.8243 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 1.538e-05/0.005197, allocations: 0 / 0.8243 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.005275, allocations: 47.89 kB / 0.8244 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.005338, allocations: 31.91 kB / 0.8244 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.005347, allocations: 4 kB / 0.8244 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.00568, allocations: 319.3 kB / 0.8247 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.005688, allocations: 0 / 0.8247 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.146e-05/0.005699, allocations: 4 kB / 0.8247 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.005856, allocations: 131.5 kB / 0.8248 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.005866, allocations: 0 / 0.8248 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005866, allocations: 0 / 0.8248 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.005876, allocations: 0 / 0.8248 GB, free: 12.4 MB / 0.8073 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.0002884/0.006164, allocations: 272.3 kB / 0.8251 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.006192, allocations: 8.031 kB / 0.8251 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.006215, allocations: 0.9375 kB / 0.8251 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.188e-05/0.006287, allocations: 109.7 kB / 0.8252 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.006295, allocations: 4.359 kB / 0.8252 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.006303, allocations: 8.312 kB / 0.8252 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.522e-05/0.006368, allocations: 34.25 kB / 0.8253 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.006373, allocations: 192 / 0.8253 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.006379, allocations: 4.125 kB / 0.8253 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.006383, allocations: 0 / 0.8253 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.317e-05/0.006396, allocations: 11.98 kB / 0.8253 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.989e-05/0.006466, allocations: 57.05 kB / 0.8253 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.006503, allocations: 18.61 kB / 0.8253 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-06/0.006513, allocations: 8.797 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.006635, allocations: 24.03 kB / 0.8254 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.006654, allocations: 38.56 kB / 0.8254 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.006655, allocations: 0 / 0.8254 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.007e-05/0.006725, allocations: 33.7 kB / 0.8254 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.00675, allocations: 59.34 kB / 0.8255 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.006796, allocations: 110.6 kB / 0.8256 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.006805, allocations: 25.7 kB / 0.8256 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.006825, allocations: 88.14 kB / 0.8257 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.006844, allocations: 3.953 kB / 0.8257 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.006863, allocations: 9.719 kB / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.006932, allocations: 322.8 kB / 0.826 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.006938, allocations: 4 kB / 0.826 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.006945, allocations: 4 kB / 0.826 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.006965, allocations: 17.28 kB / 0.8261 GB, free: 11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006966, allocations: 0 / 0.8261 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.13e-05/0.006998, allocations: 37.69 kB / 0.8261 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007009, allocations: 8 kB / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.007012, allocations: 0 / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.00702, allocations: 0 / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.007056, allocations: 4 kB / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.007059, allocations: 3.938 kB / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-06/0.007068, allocations: 3.938 kB / 0.8261 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.007071, allocations: 0 / 0.8261 GB, free: 10.94 MB / 0.8073 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 4.251e-05/0.007113, allocations: 113.9 kB / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-06/0.007117, allocations: 0 / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.007181, allocations: 45 kB / 0.8263 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.007182, allocations: 0 / 0.8263 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007183, allocations: 0 / 0.8263 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007187, allocations: 7.922 kB / 0.8263 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.034e-05/0.007237, allocations: 61.91 kB / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007238, allocations: 0 / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.007253, allocations: 4 kB / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.007265, allocations: 11.98 kB / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007266, allocations: 0 / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-06/0.007269, allocations: 0 / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.00727, allocations: 3.984 kB / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007272, allocations: 3.938 kB / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.025e-05/0.007312, allocations: 57.08 kB / 0.8264 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.007319, allocations: 0 / 0.8264 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.007326, allocations: 8 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.007335, allocations: 7.922 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.007337, allocations: 0 / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.086e-05/0.007348, allocations: 12.84 kB / 0.8264 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007348, allocations: 4.031 kB / 0.8264 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001077/0.007455, allocations: 23.88 kB / 0.8265 GB, free: 10.52 MB / 0.8073 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.0001165/0.007572, allocations: 116.3 kB / 0.8266 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.358e-05/0.007616, allocations: 16.73 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.007618, allocations: 0 / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.00763, allocations: 12.84 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.664e-05/0.007717, allocations: 37.7 kB / 0.8266 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.008175, allocations: 124.8 kB / 0.8268 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.784e-05/0.008203, allocations: 55.53 kB / 0.8268 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.00822, allocations: 4 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.008252, allocations: 47.38 kB / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.008252, allocations: 0 / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.001874/0.01013, allocations: 0.8186 MB / 0.8277 GB, free: 9.242 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715618613176048]