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.001702/0.001702, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001947/0.001947, allocations: 217.4 kB / 22.99 MB, free: 4.965 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.312/3.312, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002136/0.002136, allocations: 74.36 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4001, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003665/0.4038, allocations: 1.323 MB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00633/0.4101, allocations: 3.534 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.4102, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4102, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.411, allocations: 103.5 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.4115, allocations: 136.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.4116, allocations: 31.84 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.4117, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.4118, allocations: 23.92 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.4119, allocations: 47.83 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.4119, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.4125, allocations: 291.6 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4125, allocations: 11.92 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.4126, allocations: 3.938 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.4128, allocations: 127.6 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4128, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4128, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4128, allocations: 3.938 kB / 1.332 GB, free: 12.22 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.0004757/0.4133, allocations: 278 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4134, allocations: 12.03 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.4134, allocations: 4.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4135, allocations: 118.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4136, allocations: 384 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.4136, allocations: 4.375 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4137, allocations: 33.83 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4137, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4137, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4137, allocations: 3.984 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.4137, allocations: 7.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.4139, allocations: 105.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.414, allocations: 26.61 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.414, allocations: 8.922 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.4142, allocations: 23.97 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.4143, allocations: 30.56 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4143, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.4144, allocations: 49.58 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4145, allocations: 51.53 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4146, allocations: 113.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.4146, allocations: 25.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.4146, allocations: 80.14 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4147, allocations: 7.953 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.4147, allocations: 13.72 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4149, allocations: 314.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.4149, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.331e-05/0.4149, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.4149, allocations: 12.86 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4149, allocations: 4.062 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.811e-05/0.415, allocations: 49.58 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.415, allocations: 15.88 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.415, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4151, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.4151, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4151, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.4151, allocations: 3.938 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4151, allocations: 0 / 1.333 GB, free: 10.66 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.143e-05/0.4152, allocations: 110.4 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.4152, allocations: 7.969 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.4154, allocations: 52.94 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4154, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4154, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4154, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.4155, allocations: 109.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4155, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.4155, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4155, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4156, allocations: 3.938 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4156, allocations: 8.031 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4156, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.4157, allocations: 65.12 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.4157, allocations: 3.953 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.4157, allocations: 3.938 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.4157, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.4157, allocations: 11.92 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4157, allocations: 4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.4158, allocations: 83.53 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4158, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002118/0.416, allocations: 23.97 kB / 1.334 GB, free: 10.12 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.0002685/0.4163, allocations: 131.1 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.964e-05/0.4164, allocations: 12 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4164, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.4164, allocations: 4 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.4166, allocations: 1.688 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.417, allocations: 169.9 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.4171, allocations: 55.36 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.4171, allocations: 11.44 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4171, allocations: 0 / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of Templates: time 0.002555/0.4196, allocations: 0.7413 MB / 1.335 GB, free: 8.945 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 -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: 11.69553409377113]