Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0009143/0.0009143, allocations: 80.48 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.0008513/0.0008513, allocations: 173.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.8905/0.8905, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.717/1.717, allocations: 377.8 MB / 0.6228 GB, free: 8.648 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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.07e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001879/0.0019, allocations: 1.496 MB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002984, allocations: 0.8642 MB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.00305, allocations: 4 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.003241, allocations: 31.84 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 1.753e-05/0.003258, allocations: 23.78 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.003674, allocations: 190.8 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.00377, allocations: 55.61 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.003814, allocations: 4 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.003912, allocations: 27.91 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.00394, allocations: 11.92 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.003956, allocations: 4 kB / 0.9849 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.004282, allocations: 175.7 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.004294, allocations: 3.938 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.004316, allocations: 12 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.004639, allocations: 151.5 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.004644, allocations: 4 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004645, allocations: 0 / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.00465, allocations: 0 / 0.9852 GB, free: 15.02 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003202/0.00497, allocations: 297.9 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.005015, allocations: 11.97 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.005071, allocations: 84.17 kB / 0.9856 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.005261, allocations: 205 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.005302, allocations: 150.9 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.005351, allocations: 158.9 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.23e-05/0.005413, allocations: 101.5 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.005434, allocations: 75.47 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.005474, allocations: 150.9 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.005513, allocations: 154.5 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.009e-05/0.005553, allocations: 154.6 kB / 0.9867 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.005767, allocations: 413.6 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.005841, allocations: 169.1 kB / 0.9872 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.005869, allocations: 84.14 kB / 0.9873 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.005892, allocations: 79.28 kB / 0.9874 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.005927, allocations: 109.8 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.005928, allocations: 0 / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.116e-05/0.005999, allocations: 37.59 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.006048, allocations: 130.6 kB / 0.9876 GB, free: 12.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.006175, allocations: 137.8 kB / 0.9878 GB, free: 12.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.006185, allocations: 25.7 kB / 0.9878 GB, free: 12.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.006228, allocations: 92.03 kB / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.006231, allocations: 0 / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.006259, allocations: 17.72 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.006339, allocations: 322.8 kB / 0.9882 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.006361, allocations: 8 kB / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.006373, allocations: 0 / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.006408, allocations: 20.89 kB / 0.9882 GB, free: 11.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.00641, allocations: 0 / 0.9882 GB, free: 11.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001111/0.006521, allocations: 45.62 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.006536, allocations: 4 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.006558, allocations: 4 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006573, allocations: 0 / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.006575, allocations: 3.938 kB / 0.9883 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.006583, allocations: 4.062 kB / 0.9883 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.0066, allocations: 7.953 kB / 0.9883 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.006609, allocations: 0 / 0.9883 GB, free: 11.64 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.162e-05/0.006691, allocations: 189.1 kB / 0.9885 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.006731, allocations: 105 kB / 0.9886 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.006768, allocations: 108.7 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/0.006812, allocations: 184.3 kB / 0.9889 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-05/0.006857, allocations: 188.2 kB / 0.989 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.261e-05/0.0069, allocations: 180.2 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.007038, allocations: 364.8 kB / 0.9896 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/0.007067, allocations: 116.9 kB / 0.9897 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.007093, allocations: 101 kB / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.287e-05/0.007136, allocations: 176.3 kB / 0.9899 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.007182, allocations: 192.2 kB / 0.9901 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.442e-05/0.007227, allocations: 176.3 kB / 0.9903 GB, free: 9.488 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.142e-05/0.007268, allocations: 180.2 kB / 0.9905 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.007373, allocations: 319.6 kB / 0.9908 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.007407, allocations: 108.9 kB / 0.9909 GB, free: 8.855 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.007459, allocations: 176.3 kB / 0.991 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.007509, allocations: 105.2 kB / 0.9911 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.007557, allocations: 184.2 kB / 0.9913 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.007586, allocations: 116.9 kB / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.007636, allocations: 101.5 kB / 0.9915 GB, free: 8.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007636, allocations: 7.938 kB / 0.9915 GB, free: 8.152 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001866/0.007822, allocations: 31.88 kB / 0.9916 GB, free: 8.121 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 (0): * Single equations (assignments): 0 * 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.0002228/0.008045, allocations: 226.9 kB / 0.9918 GB, free: 7.887 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.008133, allocations: 37.75 kB / 0.9918 GB, free: 7.844 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008135, allocations: 0 / 0.9918 GB, free: 7.844 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.008138, allocations: 4 kB / 0.9918 GB, free: 7.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.008459, allocations: 474.4 kB / 0.9923 GB, free: 7.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.008857, allocations: 245.6 kB / 0.9925 GB, free: 7.102 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.008907, allocations: 71.58 kB / 0.9926 GB, free: 7.012 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.008924, allocations: 8.5 kB / 0.9926 GB, free: 7.004 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.008924, allocations: 0 / 0.9926 GB, free: 7.004 MB / 0.948 GB Notification: Performance of Templates: time 0.002305/0.01123, allocations: 1.311 MB / 0.9939 GB, free: 5.695 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.616703979671001]