Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001641/0.001641, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001841/0.001841, allocations: 161.8 kB / 23.01 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.836/2.836, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002315/0.002315, allocations: 59.91 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9553/0.9576, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002106/0.9597, allocations: 1.307 MB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.9631, allocations: 3.537 MB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.9632, allocations: 0 / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.9632, allocations: 3.938 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.9636, allocations: 97.8 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.9639, allocations: 133.9 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.964, allocations: 31.53 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.9641, allocations: 2.656 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.9642, allocations: 29.97 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.9643, allocations: 40.88 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.9643, allocations: 2.531 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.9647, allocations: 289.4 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.9647, allocations: 3.328 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.9647, allocations: 6.562 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.9649, allocations: 121.8 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9649, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9649, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9649, allocations: 0 / 1.159 GB, free: 29.75 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.0003348/0.9653, allocations: 286.1 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.9653, allocations: 12.47 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.9653, allocations: 7.812 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.9654, allocations: 106.5 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.9654, allocations: 11.16 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.9654, allocations: 384 / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.9655, allocations: 40.05 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.9655, allocations: 0 / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.9655, allocations: 2.844 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9655, allocations: 0 / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.9656, allocations: 2.875 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.9657, allocations: 110.5 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.9657, allocations: 24.14 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.9657, allocations: 7.703 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.9659, allocations: 28.81 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.966, allocations: 30.56 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.966, allocations: 0 / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.9661, allocations: 44.33 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.9661, allocations: 61.94 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.9662, allocations: 99.3 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.9662, allocations: 25.7 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.9662, allocations: 87.47 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.9662, allocations: 10.64 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.9662, allocations: 16.47 kB / 1.16 GB, free: 28.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.9663, allocations: 318.8 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.9663, allocations: 2.938 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.9663, allocations: 6.344 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.9664, allocations: 10.52 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9664, allocations: 4.062 kB / 1.161 GB, free: 28.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.388e-05/0.9664, allocations: 44.94 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9664, allocations: 6.906 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.9664, allocations: 0 / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9664, allocations: 6.891 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.9665, allocations: 5.922 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.9665, allocations: 3.938 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.9665, allocations: 0 / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.9665, allocations: 2.688 kB / 1.161 GB, free: 28.33 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 4.125e-05/0.9666, allocations: 105.8 kB / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.9666, allocations: 10.78 kB / 1.161 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.9667, allocations: 51.48 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9667, allocations: 0 / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9667, allocations: 3.938 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9667, allocations: 0 / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.132e-05/0.9667, allocations: 102.8 kB / 1.161 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9667, allocations: 0 / 1.161 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.9667, allocations: 6.875 kB / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.9667, allocations: 0 / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.9668, allocations: 7.969 kB / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9668, allocations: 0 / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9668, allocations: 6.688 kB / 1.161 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.297e-05/0.9668, allocations: 64.03 kB / 1.161 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.9668, allocations: 7.953 kB / 1.161 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.9668, allocations: 10.16 kB / 1.161 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.9669, allocations: 3.938 kB / 1.161 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.9669, allocations: 0 / 1.161 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.9669, allocations: 2.969 kB / 1.161 GB, free: 27.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.9669, allocations: 78.22 kB / 1.161 GB, free: 27.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9669, allocations: 0 / 1.161 GB, free: 27.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002098/0.9671, allocations: 36.88 kB / 1.161 GB, free: 27.86 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.000155/0.9673, allocations: 125.2 kB / 1.161 GB, free: 27.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.9674, allocations: 9.75 kB / 1.161 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9674, allocations: 0 / 1.161 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.9674, allocations: 6.094 kB / 1.161 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.9676, allocations: 4 kB / 1.161 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.9678, allocations: 147.3 kB / 1.162 GB, free: 27.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.9679, allocations: 60.14 kB / 1.162 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.9679, allocations: 2.938 kB / 1.162 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.9679, allocations: 8.5 kB / 1.162 GB, free: 27.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9679, allocations: 0 / 1.162 GB, free: 27.54 MB / 1.076 GB Notification: Performance of Templates: time 0.003055/0.971, allocations: 0.7486 MB / 1.162 GB, free: 27.46 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.056478766025975]