Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.002122/0.002122, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002659/0.002659, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.789 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.411/3.411, allocations: 0.4892 GB / 0.7943 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.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [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.002113/0.002113, allocations: 69.38 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002216/0.4061, allocations: 0.5736 MB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003165/0.4064, allocations: 107.7 kB / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.4064, allocations: 4 kB / 1.326 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.4065, allocations: 4 kB / 1.326 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.4066, allocations: 0 / 1.326 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.4068, allocations: 31.91 kB / 1.326 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4069, allocations: 31.98 kB / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.407, allocations: 3.984 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.407, allocations: 11.98 kB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.4071, allocations: 15.92 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.4071, allocations: 8 kB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.4071, allocations: 8 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.4072, allocations: 3.984 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.4072, allocations: 8 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.4073, allocations: 31.89 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4073, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4073, allocations: 3.938 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4073, allocations: 0 / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000409/0.4077, allocations: 284 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4078, allocations: 12.02 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.4078, allocations: 8.938 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.408, allocations: 106.5 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.408, allocations: 8.312 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.408, allocations: 4.375 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4082, allocations: 79.94 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4082, allocations: 192 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4082, allocations: 7.922 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4082, allocations: 4 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.4083, allocations: 37.7 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.4084, allocations: 101.3 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.4085, allocations: 64.23 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.4086, allocations: 42.62 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.4086, allocations: 0 / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.4086, allocations: 34.56 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4086, allocations: 0 / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003056/0.4089, allocations: 166.6 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.409, allocations: 81.11 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.4091, allocations: 97.84 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4091, allocations: 25.7 kB / 1.327 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.4091, allocations: 84.39 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4091, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.4092, allocations: 21.72 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4093, allocations: 310.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.4094, allocations: 41.69 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.4094, allocations: 37.69 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.4095, allocations: 84.25 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4095, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001669/0.4097, allocations: 121 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.4097, allocations: 37.78 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4097, allocations: 4 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4098, allocations: 3.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.4098, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4098, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.4099, allocations: 4 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.4099, allocations: 11.92 kB / 1.328 GB, free: 14.83 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001182/0.41, allocations: 140.1 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.41, allocations: 7.953 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.4101, allocations: 3.156 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4101, allocations: 15.92 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4101, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4101, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.4102, allocations: 101.3 kB / 1.328 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4102, allocations: 0 / 1.328 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.4102, allocations: 0 / 1.328 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4102, allocations: 3.938 kB / 1.328 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4102, allocations: 4 kB / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4102, allocations: 0 / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4102, allocations: 3.938 kB / 1.328 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.4104, allocations: 152.5 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.4104, allocations: 8.016 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4104, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4105, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.4106, allocations: 11.94 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4106, allocations: 7.984 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.4106, allocations: 79.28 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4106, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002019/0.4108, allocations: 12 kB / 1.329 GB, free: 14.2 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002458/0.4111, allocations: 110.2 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.4113, allocations: 142.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4113, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.4114, allocations: 93.03 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.4115, allocations: 13.44 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.4119, allocations: 134.7 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.132e-05/0.4119, allocations: 59.48 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.593e-05/0.412, allocations: 7.984 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.412, allocations: 7.438 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.412, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Templates: time 0.004156/0.4162, allocations: 1.222 MB / 1.33 GB, free: 12.33 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.49319976940751]