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.001886/0.001886, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002615/0.002615, allocations: 213.7 kB / 22.99 MB, free: 4.984 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.389/3.389, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 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.002147/0.002147, allocations: 72.73 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4204, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002823/0.4232, allocations: 1.31 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005211/0.4285, allocations: 3.542 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.4285, allocations: 3.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.4285, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.4291, allocations: 107.4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.4294, allocations: 132.8 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.4295, allocations: 35.84 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.4296, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.4297, allocations: 23.92 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.4298, allocations: 35.89 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.4298, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.4304, allocations: 311.6 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.4304, allocations: 7.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.4304, allocations: 7.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.4307, allocations: 127.6 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4307, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4307, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4307, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 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.0004513/0.4311, allocations: 282 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4312, allocations: 12.03 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.4312, allocations: 0.9375 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4313, allocations: 118.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4314, allocations: 384 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4314, allocations: 4.375 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4315, allocations: 41.77 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4315, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4315, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4315, allocations: 3.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.4315, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.4317, allocations: 109.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.82e-05/0.4318, allocations: 18.58 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.4318, allocations: 8.922 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.432, allocations: 27.97 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.4321, allocations: 42.48 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4321, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.4323, allocations: 41.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4323, allocations: 55.41 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.4324, allocations: 97.84 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4324, allocations: 25.7 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4325, allocations: 88.14 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.4325, allocations: 8.078 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.4326, allocations: 13.72 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4327, allocations: 322.8 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.4327, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.4327, allocations: 4 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.4328, allocations: 16.8 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4328, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.852e-05/0.4329, allocations: 45.89 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4329, allocations: 7.938 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4329, allocations: 4.094 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4329, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.433, allocations: 4 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.433, allocations: 0 / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.433, allocations: 4 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.433, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 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 9.315e-05/0.4331, allocations: 110.4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.4331, allocations: 7.938 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.4332, allocations: 48.94 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4332, allocations: 4.031 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4332, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.4332, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.4333, allocations: 105.2 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4333, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.4334, allocations: 4 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4334, allocations: 3.938 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4334, allocations: 3.938 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4334, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4334, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.982e-05/0.4335, allocations: 73.06 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.4335, allocations: 11.98 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4335, allocations: 3.938 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.4335, allocations: 0 / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.4335, allocations: 3.984 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.4335, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.4336, allocations: 79.28 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4336, allocations: 0 / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002226/0.4338, allocations: 27.94 kB / 1.334 GB, free: 9.23 MB / 1.029 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.0002225/0.434, allocations: 131 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.4341, allocations: 12 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4341, allocations: 0 / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.4341, allocations: 7.938 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4344, allocations: 8.562 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.4347, allocations: 128.2 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.4348, allocations: 59.36 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.4348, allocations: 4.125 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.4349, allocations: 11.44 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4349, allocations: 0 / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of Templates: time 0.003575/0.4384, allocations: 0.7918 MB / 1.336 GB, free: 8.039 MB / 1.029 GB " [Timeout remaining time 300] 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 cvode -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.655413493004744]