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.001951/0.001951, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001659/0.001659, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.824/2.824, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.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: 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.002161/0.002161, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00243/1.128, allocations: 1.483 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001195/1.129, allocations: 0.848 MB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/1.129, allocations: 6.5 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/1.129, allocations: 47.66 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.373e-05/1.129, allocations: 13.89 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/1.13, allocations: 201.7 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/1.13, allocations: 44.41 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/1.13, allocations: 6.188 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/1.13, allocations: 25.52 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/1.13, allocations: 15.69 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/1.13, allocations: 0 / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/1.131, allocations: 173.5 kB / 1.157 GB, free: 31.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/1.131, allocations: 4 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/1.131, allocations: 20.03 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/1.131, allocations: 124.7 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.131, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.403e-06/1.131, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.131, allocations: 2.75 kB / 1.157 GB, free: 31.51 MB / 1.076 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.0003384/1.131, allocations: 303.5 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.131, allocations: 10.72 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/1.131, allocations: 82.8 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/1.131, allocations: 197.4 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/1.132, allocations: 153.8 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.132, allocations: 158.9 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.073e-05/1.132, allocations: 109.2 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.132, allocations: 75.28 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/1.132, allocations: 156.8 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/1.132, allocations: 150.6 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/1.132, allocations: 150.6 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/1.132, allocations: 411.8 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/1.132, allocations: 173.1 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/1.132, allocations: 86.62 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/1.132, allocations: 78.7 kB / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.132, allocations: 117.9 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.132, allocations: 2.625 kB / 1.159 GB, free: 29.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.293e-05/1.132, allocations: 40.19 kB / 1.159 GB, free: 29.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.132, allocations: 126.7 kB / 1.159 GB, free: 28.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.132, allocations: 132.2 kB / 1.159 GB, free: 28.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/1.132, allocations: 25.7 kB / 1.159 GB, free: 28.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/1.132, allocations: 90.64 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.132, allocations: 3.938 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/1.132, allocations: 18.91 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/1.132, allocations: 314 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/1.132, allocations: 6.5 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/1.132, allocations: 13.06 kB / 1.16 GB, free: 28.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/1.132, allocations: 10.95 kB / 1.16 GB, free: 28.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.132, allocations: 3.031 kB / 1.16 GB, free: 28.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/1.133, allocations: 43.88 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.133, allocations: 12.64 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.133, allocations: 2.625 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.133, allocations: 0 / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/1.133, allocations: 0 / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.133, allocations: 3.938 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/1.133, allocations: 6.688 kB / 1.16 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.133, allocations: 4.062 kB / 1.16 GB, free: 28.29 MB / 1.076 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 7.516e-05/1.133, allocations: 188.2 kB / 1.16 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/1.133, allocations: 111.3 kB / 1.16 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/1.133, allocations: 110.8 kB / 1.16 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/1.133, allocations: 182.7 kB / 1.161 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.521e-05/1.133, allocations: 180.3 kB / 1.161 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/1.133, allocations: 186.3 kB / 1.161 GB, free: 27.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/1.133, allocations: 358.3 kB / 1.161 GB, free: 26.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/1.133, allocations: 103.5 kB / 1.161 GB, free: 26.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/1.133, allocations: 104.9 kB / 1.161 GB, free: 26.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-05/1.133, allocations: 190.4 kB / 1.162 GB, free: 26.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/1.133, allocations: 184.1 kB / 1.162 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.114e-05/1.133, allocations: 179.2 kB / 1.162 GB, free: 26.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.914e-05/1.133, allocations: 180.2 kB / 1.162 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.335e-05/1.133, allocations: 313.3 kB / 1.162 GB, free: 25.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/1.133, allocations: 111.8 kB / 1.163 GB, free: 25.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/1.133, allocations: 183 kB / 1.163 GB, free: 25.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/1.133, allocations: 104.4 kB / 1.163 GB, free: 25.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/1.133, allocations: 183 kB / 1.163 GB, free: 25.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/1.134, allocations: 105 kB / 1.163 GB, free: 24.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.403e-05/1.134, allocations: 106.7 kB / 1.163 GB, free: 24.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.134, allocations: 4 kB / 1.163 GB, free: 24.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002663/1.134, allocations: 35.06 kB / 1.163 GB, free: 24.88 MB / 1.076 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.000223/1.134, allocations: 214.7 kB / 1.163 GB, free: 24.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.875e-05/1.134, allocations: 47.02 kB / 1.163 GB, free: 24.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.134, allocations: 2.781 kB / 1.163 GB, free: 24.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.134, allocations: 0 / 1.163 GB, free: 24.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/1.134, allocations: 465.6 kB / 1.164 GB, free: 24.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/1.135, allocations: 237.4 kB / 1.164 GB, free: 23.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/1.135, allocations: 72.44 kB / 1.164 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.858e-05/1.135, allocations: 0 / 1.164 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/1.135, allocations: 15.41 kB / 1.164 GB, free: 23.91 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.135, allocations: 3.938 kB / 1.164 GB, free: 23.9 MB / 1.076 GB Notification: Performance of Templates: time 0.004251/1.139, allocations: 1.591 MB / 1.166 GB, free: 23.75 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.23267396807205]