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.001165/0.001165, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001334/0.001334, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9168/0.9168, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.777/1.777, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.089e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001693/0.001724, allocations: 1.313 MB / 0.9835 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.004886, allocations: 3.534 MB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.004913, allocations: 0 / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.004929, allocations: 0 / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.005357, allocations: 103.4 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.005573, allocations: 135.5 kB / 0.9872 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.005641, allocations: 31.84 kB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.005677, allocations: 0 / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.00578, allocations: 31.84 kB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.005861, allocations: 43.89 kB / 0.9873 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.005873, allocations: 4 kB / 0.9873 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.006171, allocations: 291.5 kB / 0.9876 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.006182, allocations: 4 kB / 0.9876 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.006204, allocations: 4 kB / 0.9876 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.006394, allocations: 151.5 kB / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006397, allocations: 0 / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.006398, allocations: 0 / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.006402, allocations: 0 / 0.9877 GB, free: 12.42 MB / 0.948 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.0003287/0.006731, allocations: 290 kB / 0.988 GB, free: 12.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.00677, allocations: 8.031 kB / 0.988 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.006802, allocations: 8.922 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/0.006875, allocations: 101.8 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.006885, allocations: 4.375 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.006894, allocations: 4.375 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.006977, allocations: 30.27 kB / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.006984, allocations: 192 / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.006994, allocations: 4.125 kB / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.006998, allocations: 7.875 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.007032, allocations: 7.984 kB / 0.9882 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.007149, allocations: 105.3 kB / 0.9883 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.007199, allocations: 18.61 kB / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.007217, allocations: 12.92 kB / 0.9883 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.00737, allocations: 23.97 kB / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.007391, allocations: 30.56 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.007392, allocations: 0 / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.007545, allocations: 49.59 kB / 0.9884 GB, free: 11.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.007578, allocations: 59.47 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.007644, allocations: 105.8 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.007653, allocations: 25.7 kB / 0.9886 GB, free: 11.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.007679, allocations: 80.14 kB / 0.9886 GB, free: 11.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.007706, allocations: 3.953 kB / 0.9886 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.007737, allocations: 25.64 kB / 0.9887 GB, free: 11.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.007811, allocations: 310.8 kB / 0.989 GB, free: 10.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.007823, allocations: 4 kB / 0.989 GB, free: 10.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.007831, allocations: 0 / 0.989 GB, free: 10.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.00786, allocations: 20.86 kB / 0.989 GB, free: 10.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007861, allocations: 4 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.456e-05/0.007906, allocations: 37.69 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.007918, allocations: 8 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.007923, allocations: 0 / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007935, allocations: 0 / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.007982, allocations: 7.938 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007987, allocations: 0 / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.007996, allocations: 0 / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.008001, allocations: 0 / 0.989 GB, free: 10.88 MB / 0.948 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 5.158e-05/0.008053, allocations: 117.9 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-06/0.008056, allocations: 0 / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/0.008147, allocations: 56.88 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.008149, allocations: 0 / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008154, allocations: 3.938 kB / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008156, allocations: 0 / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.78e-05/0.008214, allocations: 105.6 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.008216, allocations: 4 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.008226, allocations: 4 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.22e-07/0.008227, allocations: 3.938 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.008232, allocations: 4.031 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.008233, allocations: 0 / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.008234, allocations: 7.984 kB / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.145e-05/0.008285, allocations: 69.02 kB / 0.9894 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.008302, allocations: 7.938 kB / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.008311, allocations: 0 / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.008317, allocations: 0 / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.008333, allocations: 11.92 kB / 0.9894 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.008335, allocations: 0 / 0.9894 GB, free: 10.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.488e-05/0.00836, allocations: 79.28 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00836, allocations: 4.031 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000144/0.008504, allocations: 23.94 kB / 0.9895 GB, free: 10.32 MB / 0.948 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.000152/0.008656, allocations: 143 kB / 0.9897 GB, free: 10.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.008723, allocations: 4 kB / 0.9897 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008725, allocations: 4 kB / 0.9897 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.008732, allocations: 4 kB / 0.9897 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.008881, allocations: 7.984 kB / 0.9897 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.009183, allocations: 154.5 kB / 0.9898 GB, free: 9.965 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.009219, allocations: 55.36 kB / 0.9899 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.009238, allocations: 12.5 kB / 0.9899 GB, free: 9.879 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.009238, allocations: 0 / 0.9899 GB, free: 9.879 MB / 0.948 GB Notification: Performance of Templates: time 0.001613/0.01085, allocations: 0.7463 MB / 0.9906 GB, free: 9.141 MB / 0.948 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: 6.68539518956095]