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.001467/0.001467, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001595/0.001595, allocations: 161.5 kB / 22.46 MB, free: 5.375 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.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.894e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002523/0.002552, allocations: 1.31 MB / 0.9827 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.007591, allocations: 3.538 MB / 0.9862 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.007623, allocations: 0 / 0.9862 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.007641, allocations: 0 / 0.9862 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.008172, allocations: 99.5 kB / 0.9863 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.008529, allocations: 142.6 kB / 0.9864 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.008608, allocations: 39.8 kB / 0.9864 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.008647, allocations: 0 / 0.9864 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.00879, allocations: 31.84 kB / 0.9865 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.008896, allocations: 31.91 kB / 0.9865 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.008911, allocations: 4 kB / 0.9865 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.009469, allocations: 295.5 kB / 0.9868 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.00948, allocations: 0 / 0.9868 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.009502, allocations: 7.984 kB / 0.9868 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.009791, allocations: 151.6 kB / 0.9869 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.009796, allocations: 0 / 0.9869 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009797, allocations: 0 / 0.9869 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.009806, allocations: 0 / 0.9869 GB, free: 6.277 MB / 0.9356 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.0004302/0.01024, allocations: 282 kB / 0.9872 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01028, allocations: 12.03 kB / 0.9872 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.01031, allocations: 4.938 kB / 0.9872 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.01043, allocations: 109.8 kB / 0.9873 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.01044, allocations: 384 / 0.9873 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.01045, allocations: 384 / 0.9873 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.01055, allocations: 42.23 kB / 0.9874 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.01055, allocations: 192 / 0.9874 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01057, allocations: 4.125 kB / 0.9874 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.01057, allocations: 0 / 0.9874 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.01061, allocations: 7.938 kB / 0.9874 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.01076, allocations: 105.3 kB / 0.9875 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.01083, allocations: 26.61 kB / 0.9875 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.01085, allocations: 4.859 kB / 0.9875 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.01106, allocations: 24.05 kB / 0.9875 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.01109, allocations: 34.56 kB / 0.9876 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.01109, allocations: 0 / 0.9876 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.01125, allocations: 49.58 kB / 0.9876 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.0113, allocations: 59.34 kB / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.0114, allocations: 97.84 kB / 0.9878 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01142, allocations: 37.77 kB / 0.9878 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.01147, allocations: 80.14 kB / 0.9879 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.0115, allocations: 11.89 kB / 0.9879 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.01153, allocations: 9.719 kB / 0.9879 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.0117, allocations: 318.8 kB / 0.9882 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.01172, allocations: 0 / 0.9882 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.01173, allocations: 8.234 kB / 0.9882 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.01178, allocations: 12.86 kB / 0.9882 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01178, allocations: 4 kB / 0.9882 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.408e-05/0.01186, allocations: 49.64 kB / 0.9883 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01187, allocations: 4 kB / 0.9883 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01187, allocations: 0 / 0.9883 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01189, allocations: 0 / 0.9883 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.01195, allocations: 7.938 kB / 0.9883 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01195, allocations: 0 / 0.9883 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.01197, allocations: 7.984 kB / 0.9883 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.01198, allocations: 0 / 0.9883 GB, free: 4.719 MB / 0.9356 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.259e-05/0.01207, allocations: 109.8 kB / 0.9884 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.01208, allocations: 4 kB / 0.9884 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.0122, allocations: 52.97 kB / 0.9885 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.0122, allocations: 0 / 0.9885 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01221, allocations: 3.938 kB / 0.9885 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01221, allocations: 4 kB / 0.9885 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.01232, allocations: 97.33 kB / 0.9886 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01232, allocations: 0 / 0.9886 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.01235, allocations: 7.984 kB / 0.9886 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01235, allocations: 0 / 0.9886 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01235, allocations: 0 / 0.9886 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01235, allocations: 0 / 0.9886 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01236, allocations: 4.031 kB / 0.9886 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.752e-05/0.01245, allocations: 69.03 kB / 0.9886 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.01248, allocations: 7.984 kB / 0.9886 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01249, allocations: 4 kB / 0.9886 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.0125, allocations: 0 / 0.9886 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.01252, allocations: 3.938 kB / 0.9886 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.01253, allocations: 0 / 0.9886 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.01258, allocations: 91.14 kB / 0.9887 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01258, allocations: 0 / 0.9887 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002369/0.01281, allocations: 27.88 kB / 0.9888 GB, free: 4.176 MB / 0.9356 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.0002243/0.01304, allocations: 131.2 kB / 0.9889 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.01311, allocations: 11.98 kB / 0.9889 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01311, allocations: 0 / 0.9889 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.01313, allocations: 4 kB / 0.9889 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01335, allocations: 4 kB / 0.9889 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.01366, allocations: 124.7 kB / 0.989 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.01373, allocations: 71.41 kB / 0.9891 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.01375, allocations: 0 / 0.9891 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.01377, allocations: 12.5 kB / 0.9891 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.01377, allocations: 0 / 0.9891 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.003518/0.01729, allocations: 0.7676 MB / 0.9898 GB, free: 3.02 MB / 0.9356 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 -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/jenkins/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: 8.338400166481733]