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.001879/0.001879, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.001879/0.001879, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.879/2.879, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 1.203 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.634e-05, allocations: 3.844 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002562/0.002588, allocations: 1.31 MB / 0.7877 GB, free: 10.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.0083, allocations: 3.843 MB / 0.7914 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.008334, allocations: 0 / 0.7914 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.008351, allocations: 3.984 kB / 0.7914 GB, free: 6.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.008904, allocations: 102.9 kB / 0.7915 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.009286, allocations: 135.5 kB / 0.7917 GB, free: 6.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.009361, allocations: 27.86 kB / 0.7917 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.79e-05/0.009388, allocations: 4.719 kB / 0.7917 GB, free: 6.254 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.009519, allocations: 36.42 kB / 0.7917 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.009631, allocations: 27.98 kB / 0.7918 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.009643, allocations: 1.562 kB / 0.7918 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.01024, allocations: 299.4 kB / 0.792 GB, free: 5.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.01026, allocations: 4 kB / 0.792 GB, free: 5.895 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.01028, allocations: 4 kB / 0.792 GB, free: 5.891 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.01065, allocations: 148.2 kB / 0.7922 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.01065, allocations: 1.281 kB / 0.7922 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01065, allocations: 0 / 0.7922 GB, free: 5.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.01066, allocations: 0 / 0.7922 GB, free: 5.746 MB / 0.698 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.0006067/0.01126, allocations: 387.9 kB / 0.7926 GB, free: 5.332 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.01131, allocations: 13.56 kB / 0.7926 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.01137, allocations: 0.9375 kB / 0.7926 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.01155, allocations: 116.6 kB / 0.7927 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.01156, allocations: 384 / 0.7927 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.01158, allocations: 1 kB / 0.7927 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.01171, allocations: 36.17 kB / 0.7927 GB, free: 5.141 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01172, allocations: 192 / 0.7927 GB, free: 5.141 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01174, allocations: 4.125 kB / 0.7927 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.01174, allocations: 0 / 0.7927 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.0118, allocations: 7.984 kB / 0.7927 GB, free: 5.129 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.01204, allocations: 117.2 kB / 0.7928 GB, free: 4.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.01212, allocations: 31.78 kB / 0.7929 GB, free: 4.938 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.01216, allocations: 19.73 kB / 0.7929 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.0124, allocations: 21.25 kB / 0.7929 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.01246, allocations: 41.95 kB / 0.793 GB, free: 4.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.01246, allocations: 0 / 0.793 GB, free: 4.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002091/0.01267, allocations: 46.78 kB / 0.793 GB, free: 4.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.01273, allocations: 55.34 kB / 0.7931 GB, free: 4.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01288, allocations: 162.7 kB / 0.7932 GB, free: 4.551 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01291, allocations: 29.7 kB / 0.7932 GB, free: 4.516 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01299, allocations: 127.6 kB / 0.7934 GB, free: 4.387 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.01302, allocations: 3.953 kB / 0.7934 GB, free: 4.383 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.01308, allocations: 28.64 kB / 0.7934 GB, free: 4.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002782/0.01335, allocations: 492.1 kB / 0.7939 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.01339, allocations: 4 kB / 0.7939 GB, free: 3.852 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.0134, allocations: 0.5 kB / 0.7939 GB, free: 3.852 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.01344, allocations: 24.75 kB / 0.7939 GB, free: 3.824 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01344, allocations: 0 / 0.7939 GB, free: 3.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.99e-05/0.01352, allocations: 38.59 kB / 0.7939 GB, free: 3.781 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01354, allocations: 8 kB / 0.7939 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01355, allocations: 0.8438 kB / 0.7939 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01357, allocations: 0 / 0.7939 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.01364, allocations: 10.16 kB / 0.7939 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01364, allocations: 0 / 0.7939 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.01366, allocations: 3.938 kB / 0.7939 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.01366, allocations: 0 / 0.7939 GB, free: 3.762 MB / 0.698 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 0.0001411/0.01381, allocations: 160.6 kB / 0.7941 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.01382, allocations: 3.938 kB / 0.7941 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01398, allocations: 59.66 kB / 0.7942 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01398, allocations: 0 / 0.7942 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.01399, allocations: 3.938 kB / 0.7942 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.014, allocations: 0 / 0.7942 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01414, allocations: 116.6 kB / 0.7943 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01415, allocations: 0 / 0.7943 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.01417, allocations: 5.469 kB / 0.7943 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01417, allocations: 0 / 0.7943 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01419, allocations: 4 kB / 0.7943 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01419, allocations: 0 / 0.7943 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01419, allocations: 0.5 kB / 0.7943 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01434, allocations: 88.83 kB / 0.7944 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.01436, allocations: 1.625 kB / 0.7944 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.01437, allocations: 0 / 0.7944 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.01439, allocations: 8 kB / 0.7944 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.01442, allocations: 7.922 kB / 0.7944 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.01443, allocations: 0.5625 kB / 0.7944 GB, free: 3.242 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.089e-05/0.01451, allocations: 127.2 kB / 0.7945 GB, free: 3.117 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01451, allocations: 1.094 kB / 0.7945 GB, free: 3.117 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002375/0.01474, allocations: 23.94 kB / 0.7945 GB, free: 3.094 MB / 0.698 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.0002518/0.015, allocations: 135.7 kB / 0.7947 GB, free: 2.953 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.784e-05/0.01509, allocations: 16.62 kB / 0.7947 GB, free: 2.934 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.0151, allocations: 0.9688 kB / 0.7947 GB, free: 2.934 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.01512, allocations: 19.62 kB / 0.7947 GB, free: 2.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01532, allocations: 9.016 kB / 0.7947 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.01566, allocations: 123.4 kB / 0.7948 GB, free: 2.754 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.01573, allocations: 59.36 kB / 0.7949 GB, free: 2.676 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.01576, allocations: 6.172 kB / 0.7949 GB, free: 2.672 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.01578, allocations: 16.44 kB / 0.7949 GB, free: 2.656 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.01578, allocations: 0 / 0.7949 GB, free: 2.656 MB / 0.698 GB Notification: Performance of Templates: time 0.003839/0.01962, allocations: 0.7965 MB / 0.7957 GB, free: 1.883 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 240] 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: 7.9295239800121635]