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.001762/0.001762, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002539/0.002539, allocations: 224.4 kB / 23 MB, free: 4.914 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.24/3.24, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.002197/0.002197, allocations: 73.03 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4071, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002058/0.4092, allocations: 0.5518 MB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000267/0.4094, allocations: 103.7 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.4095, allocations: 4 kB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.4096, allocations: 8 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.4096, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.4098, allocations: 39.78 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4099, allocations: 31.97 kB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.4099, allocations: 0 / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.41, allocations: 15.98 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.41, allocations: 11.98 kB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.41, allocations: 4 kB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.4101, allocations: 12 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.4101, allocations: 3.984 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.4101, allocations: 11.92 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.4102, allocations: 31.91 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4102, allocations: 0 / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4102, allocations: 0 / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4103, allocations: 0 / 1.327 GB, free: 1.027 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.000391/0.4106, allocations: 284 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4107, allocations: 8.031 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.4107, allocations: 8.938 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.4109, allocations: 110.5 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.4109, allocations: 384 / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4109, allocations: 4.375 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.411, allocations: 83.92 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.411, allocations: 192 / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4111, allocations: 3.938 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4111, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.4111, allocations: 41.7 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.4113, allocations: 105.3 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.4114, allocations: 60.23 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.4114, allocations: 46.56 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.4114, allocations: 0 / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4115, allocations: 38.55 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4115, allocations: 0 / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003022/0.4118, allocations: 162.7 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4118, allocations: 81.05 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.4119, allocations: 97.84 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4119, allocations: 25.7 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.412, allocations: 84.39 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.412, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.412, allocations: 21.72 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4122, allocations: 314.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.4122, allocations: 37.7 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.4123, allocations: 41.69 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.4124, allocations: 80.25 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4124, allocations: 3.938 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001712/0.4126, allocations: 129 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.4126, allocations: 33.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4126, allocations: 4.094 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4126, allocations: 3.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.4126, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.4126, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4128, allocations: 11.94 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4128, allocations: 8 kB / 1.329 GB, free: 14.86 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.0001111/0.4129, allocations: 136.1 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.4129, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.4129, allocations: 3.156 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4129, allocations: 11.94 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4129, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4129, allocations: 3.984 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.649e-05/0.413, allocations: 97.33 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.413, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.413, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.413, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.413, allocations: 8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.413, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.413, allocations: 7.875 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.4132, allocations: 156.4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.4132, allocations: 4.031 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.4133, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.4133, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.4134, allocations: 3.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4134, allocations: 11.98 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.4134, allocations: 79.28 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4134, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000196/0.4136, allocations: 12 kB / 1.329 GB, free: 14.23 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.0002416/0.4139, allocations: 123.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4141, allocations: 138.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4141, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.4142, allocations: 93.09 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.4143, allocations: 8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.4146, allocations: 164.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.4147, allocations: 63.47 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.4147, allocations: 11.38 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4147, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Templates: time 0.002624/0.4173, allocations: 0.888 MB / 1.331 GB, free: 12.65 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/jenkins1/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: 11.769721515942365]