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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8073, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002718/0.81, allocations: 1.295 MB / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.8149, allocations: 3.822 MB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.8149, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.8149, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.8154, allocations: 103.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.8158, allocations: 150.9 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.8159, allocations: 23.88 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.8159, allocations: 3.984 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.816, allocations: 27.84 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.8161, allocations: 35.91 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.8161, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.8166, allocations: 311.5 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.8167, allocations: 4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.8167, allocations: 7.938 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.8169, allocations: 126.3 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8169, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8169, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8169, allocations: 0 / 1.28 GB, free: 14.48 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.0004549/0.8174, allocations: 355.1 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.8174, allocations: 12.03 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.8175, allocations: 0.9375 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.8176, allocations: 172.4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.8176, allocations: 384 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.8176, allocations: 384 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.8177, allocations: 33.83 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.8177, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.8177, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.8177, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.8178, allocations: 7.938 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.8179, allocations: 157.7 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.818, allocations: 26.61 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.818, allocations: 8.844 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.8183, allocations: 97.16 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.8183, allocations: 38.5 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8183, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.8185, allocations: 53.58 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.8185, allocations: 55.34 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.8186, allocations: 101.9 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.8186, allocations: 25.7 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.8187, allocations: 80.14 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.8187, allocations: 11.88 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.8187, allocations: 21.84 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8189, allocations: 310.8 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.8189, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-06/0.8189, allocations: 0 / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.8189, allocations: 20.8 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8189, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.481e-05/0.819, allocations: 45.56 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.819, allocations: 4 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.819, allocations: 8.094 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.819, allocations: 0 / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.8191, allocations: 8 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.8191, allocations: 3.984 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.8191, allocations: 256 / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.8191, allocations: 4 kB / 1.281 GB, free: 12.6 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.517e-05/0.8192, allocations: 105.8 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.8192, allocations: 11.92 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.8193, allocations: 48.77 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8193, allocations: 0 / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.8193, allocations: 7.984 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.8193, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.8195, allocations: 153.6 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8195, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.8195, allocations: 11.92 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8195, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.8195, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8195, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8195, allocations: 4.031 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.8196, allocations: 65.12 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.8197, allocations: 81.05 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.8197, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.8197, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.8197, allocations: 7.938 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.8197, allocations: 3.938 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.8198, allocations: 91.3 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8198, allocations: 0 / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002115/0.82, allocations: 19.94 kB / 1.282 GB, free: 11.9 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.0002067/0.8202, allocations: 131.6 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.8203, allocations: 15.98 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8203, allocations: 3.938 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.8203, allocations: 4 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.8205, allocations: 10 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.8208, allocations: 131.6 kB / 1.282 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.8211, allocations: 0.6768 MB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.8212, allocations: 7.984 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.8212, allocations: 7.438 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8212, allocations: 8 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.00331/0.8245, allocations: 0.7497 MB / 1.284 GB, free: 10.11 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 -s cvode -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_2/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.449108517728746]