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.001665/0.001665, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002146/0.002146, allocations: 209.3 kB / 23.03 MB, free: 4.863 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.261/3.261, allocations: 0.49 GB / 0.7959 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.002092/0.002092, allocations: 72.2 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4085, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003112/0.4116, allocations: 1.316 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005359/0.417, allocations: 3.534 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.417, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.4171, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.4176, allocations: 107.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.418, allocations: 127.6 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.4181, allocations: 35.8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.4181, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4182, allocations: 23.91 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.4184, allocations: 39.84 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.4184, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.4189, allocations: 287.6 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.4189, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.4189, allocations: 7.938 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4191, allocations: 127.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4191, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4192, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4192, allocations: 0 / 1.333 GB, free: 11.31 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.0004315/0.4196, allocations: 289.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4196, allocations: 12.03 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.4197, allocations: 4.922 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4198, allocations: 114.4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.4198, allocations: 8.312 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4198, allocations: 384 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.4199, allocations: 37.83 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.4199, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4199, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4199, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.42, allocations: 11.97 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.4201, allocations: 105.4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.4202, allocations: 22.52 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.4202, allocations: 8.922 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.4204, allocations: 27.97 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4204, allocations: 34.56 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4205, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.4206, allocations: 41.64 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4206, allocations: 55.41 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.4207, allocations: 97.84 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4208, allocations: 29.7 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.4208, allocations: 84.27 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4208, allocations: 11.89 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4209, allocations: 17.7 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.421, allocations: 314.8 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.421, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.421, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.4211, allocations: 16.86 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4211, allocations: 0 / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.689e-05/0.4212, allocations: 41.64 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4212, allocations: 7.938 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4212, allocations: 4.094 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4212, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.4212, allocations: 3.938 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4213, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.4213, allocations: 7.938 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.4213, allocations: 0 / 1.334 GB, free: 9.746 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 8.516e-05/0.4214, allocations: 110.4 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4214, allocations: 7.938 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4215, allocations: 45 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4215, allocations: 4.031 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4215, allocations: 7.938 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4215, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4216, allocations: 105.2 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4216, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.4216, allocations: 4 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4216, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4217, allocations: 3.938 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4217, allocations: 4.188 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4217, allocations: 0 / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.4218, allocations: 73.12 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.4218, allocations: 11.95 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.4218, allocations: 3.938 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.4218, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4218, allocations: 3.984 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.4218, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.4219, allocations: 79.28 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4219, allocations: 0 / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002115/0.4221, allocations: 27.94 kB / 1.334 GB, free: 9.203 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.0002168/0.4223, allocations: 135.1 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.4224, allocations: 11.94 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4224, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.4224, allocations: 4 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4227, allocations: 8 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.423, allocations: 153.8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.423, allocations: 59.36 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.4231, allocations: 11.56 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4231, allocations: 3.938 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of Templates: time 0.002544/0.4256, allocations: 0.7353 MB / 1.336 GB, free: 8.023 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.512816862901673]