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.001893/0.001893, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002321/0.002321, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.82/2.82, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.703e-06/1.703e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.814e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003203/0.003241, allocations: 1.313 MB / 0.7877 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006406/0.009647, allocations: 3.538 MB / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.009693, allocations: 0 / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.009718, allocations: 5.328 kB / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.01041, allocations: 100.9 kB / 0.7912 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.0109, allocations: 145 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.01099, allocations: 23.92 kB / 0.7914 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.01102, allocations: 0 / 0.7914 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.01117, allocations: 31.89 kB / 0.7914 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.01131, allocations: 40.45 kB / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.01133, allocations: 1.969 kB / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.01192, allocations: 287.6 kB / 0.7917 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.01194, allocations: 7.984 kB / 0.7917 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.01198, allocations: 7.938 kB / 0.7918 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.01233, allocations: 139.7 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01233, allocations: 0.5312 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01233, allocations: 0.7188 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.01234, allocations: 4 kB / 0.7919 GB, free: 7.156 MB / 0.7448 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.0005171/0.01285, allocations: 283.3 kB / 0.7922 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.01291, allocations: 8.031 kB / 0.7922 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.01296, allocations: 4.922 kB / 0.7922 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.0131, allocations: 114.3 kB / 0.7923 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.01312, allocations: 384 / 0.7923 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.01313, allocations: 5.5 kB / 0.7923 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.01326, allocations: 30.27 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01327, allocations: 192 / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.01329, allocations: 8.875 kB / 0.7923 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.01329, allocations: 0 / 0.7923 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.01334, allocations: 8.703 kB / 0.7923 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.01355, allocations: 109.3 kB / 0.7924 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.01363, allocations: 27.73 kB / 0.7925 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.01367, allocations: 12.92 kB / 0.7925 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.01392, allocations: 25.53 kB / 0.7925 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.01397, allocations: 30.56 kB / 0.7925 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.757e-06/0.01397, allocations: 4.891 kB / 0.7925 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002188/0.01419, allocations: 41.7 kB / 0.7926 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.01425, allocations: 60.12 kB / 0.7926 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.01438, allocations: 105.8 kB / 0.7927 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.0144, allocations: 27.92 kB / 0.7928 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.01446, allocations: 80.14 kB / 0.7928 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.0145, allocations: 7.891 kB / 0.7928 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.01455, allocations: 21.7 kB / 0.7929 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.01474, allocations: 310.8 kB / 0.7932 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.01476, allocations: 4 kB / 0.7932 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.01477, allocations: 2.719 kB / 0.7932 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.01481, allocations: 16.86 kB / 0.7932 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01482, allocations: 0 / 0.7932 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.381e-05/0.0149, allocations: 41.62 kB / 0.7932 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.01492, allocations: 10.03 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.01492, allocations: 1.531 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01495, allocations: 0 / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.01502, allocations: 7.938 kB / 0.7932 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01502, allocations: 0 / 0.7932 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.01504, allocations: 0 / 0.7932 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.01505, allocations: 0.5 kB / 0.7932 GB, free: 5.617 MB / 0.7448 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.0001062/0.01516, allocations: 114.4 kB / 0.7934 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.01517, allocations: 1.375 kB / 0.7934 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.01531, allocations: 52.95 kB / 0.7934 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01531, allocations: 1.094 kB / 0.7934 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.01532, allocations: 3.938 kB / 0.7934 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01532, allocations: 0 / 0.7934 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.01545, allocations: 106 kB / 0.7935 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01545, allocations: 0 / 0.7935 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.01548, allocations: 8.844 kB / 0.7935 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01548, allocations: 0 / 0.7935 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.01549, allocations: 11.91 kB / 0.7935 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01549, allocations: 0 / 0.7935 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01549, allocations: 0 / 0.7935 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.0156, allocations: 69.31 kB / 0.7936 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01562, allocations: 0 / 0.7936 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01564, allocations: 4 kB / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.01565, allocations: 4 kB / 0.7936 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.01568, allocations: 7.922 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.01568, allocations: 0 / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.01574, allocations: 83.28 kB / 0.7937 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01574, allocations: 0 / 0.7937 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002552/0.016, allocations: 28.91 kB / 0.7937 GB, free: 5.074 MB / 0.7448 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.0002506/0.01625, allocations: 128.2 kB / 0.7938 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.01634, allocations: 11.94 kB / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01634, allocations: 1.125 kB / 0.7939 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.01636, allocations: 8 kB / 0.7939 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.0166, allocations: 5.016 kB / 0.7939 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.01698, allocations: 133.6 kB / 0.794 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.01705, allocations: 59.36 kB / 0.794 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.01708, allocations: 1.625 kB / 0.794 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01711, allocations: 16.48 kB / 0.7941 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01711, allocations: 0.7812 kB / 0.7941 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.003692/0.02081, allocations: 0.7831 MB / 0.7948 GB, free: 3.906 MB / 0.7448 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=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: 8.182010685908608]