Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001201/0.001201, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002968, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001356/0.001356, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.003128, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9757/0.9757, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08333/1.059, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.296/2.296, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2319/2.528, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.291e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001899/0.001922, allocations: 0.6243 MB / 0.8189 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.002133, allocations: 103.7 kB / 0.819 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.002154, allocations: 4 kB / 0.819 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.002205, allocations: 7.938 kB / 0.819 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.739e-05/0.002222, allocations: 0 / 0.819 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.002359, allocations: 35.89 kB / 0.8191 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.002465, allocations: 27.92 kB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.002506, allocations: 3.984 kB / 0.8191 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.002571, allocations: 19.98 kB / 0.8191 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.002642, allocations: 11.98 kB / 0.8191 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.002663, allocations: 8 kB / 0.8191 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.002713, allocations: 11.94 kB / 0.8191 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.002725, allocations: 3.938 kB / 0.8191 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.002748, allocations: 4 kB / 0.8192 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.002864, allocations: 31.95 kB / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.002881, allocations: 0 / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002882, allocations: 0 / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.0029, allocations: 0 / 0.8192 GB, free: 1.984 MB / 0.7917 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.0003476/0.003247, allocations: 258.4 kB / 0.8194 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.003283, allocations: 8.031 kB / 0.8194 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.003323, allocations: 16.94 kB / 0.8195 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.003432, allocations: 113.7 kB / 0.8196 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.003445, allocations: 4.375 kB / 0.8196 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.003457, allocations: 4.375 kB / 0.8196 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003573, allocations: 75.92 kB / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.00358, allocations: 192 / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.00359, allocations: 384 / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003595, allocations: 4.375 kB / 0.8196 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.003635, allocations: 45.62 kB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.851e-05/0.003713, allocations: 60.98 kB / 0.8197 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.003778, allocations: 60.23 kB / 0.8198 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.003814, allocations: 42.61 kB / 0.8198 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-06/0.003817, allocations: 0 / 0.8198 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.003844, allocations: 34.56 kB / 0.8199 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.003845, allocations: 0 / 0.8199 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.004019, allocations: 146.8 kB / 0.82 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.004049, allocations: 51.41 kB / 0.8201 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.004118, allocations: 106.6 kB / 0.8202 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.004134, allocations: 33.64 kB / 0.8202 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.004158, allocations: 84.39 kB / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.004183, allocations: 0 / 0.8203 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.004226, allocations: 21.72 kB / 0.8203 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.004321, allocations: 314.8 kB / 0.8206 GB, free: 340 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.004356, allocations: 37.69 kB / 0.8206 GB, free: 296 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.004387, allocations: 37.69 kB / 0.8207 GB, free: 252 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.004456, allocations: 84.22 kB / 0.8208 GB, free: 152 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004458, allocations: 0 / 0.8208 GB, free: 152 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001079/0.004566, allocations: 109.1 kB / 0.8209 GB, free: 24 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.004623, allocations: 29.8 kB / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.004628, allocations: 4 kB / 0.8209 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.00464, allocations: 7.984 kB / 0.8209 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-06/0.004646, allocations: 7.922 kB / 0.8209 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.004648, allocations: 0 / 0.8209 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.004743, allocations: 7.953 kB / 0.8209 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.004753, allocations: 4 kB / 0.8209 GB, free: 15.96 MB / 0.8073 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 7.912e-05/0.004833, allocations: 143.5 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.00485, allocations: 7.984 kB / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.004863, allocations: 7.156 kB / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.004865, allocations: 0 / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.004866, allocations: 4 kB / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004868, allocations: 0 / 0.8211 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/0.004935, allocations: 69.83 kB / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004936, allocations: 0 / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.004937, allocations: 0 / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-06/0.004942, allocations: 0 / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004943, allocations: 3.938 kB / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.00495, allocations: 4 kB / 0.8211 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.004952, allocations: 4 kB / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.004954, allocations: 0 / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.005082, allocations: 152.4 kB / 0.8213 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.005094, allocations: 0 / 0.8213 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.005143, allocations: 4 kB / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.005155, allocations: 4 kB / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.005161, allocations: 0 / 0.8213 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.362e-05/0.005175, allocations: 12.84 kB / 0.8213 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.005175, allocations: 0 / 0.8213 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001765/0.005351, allocations: 12 kB / 0.8213 GB, free: 15.47 MB / 0.8073 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.0002127/0.005564, allocations: 94.28 kB / 0.8214 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.005704, allocations: 143.6 kB / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.005708, allocations: 0 / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.005762, allocations: 97.95 kB / 0.8217 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.609e-05/0.005848, allocations: 19.92 kB / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.006165, allocations: 142.4 kB / 0.8218 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.006198, allocations: 55.47 kB / 0.8219 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.006241, allocations: 8 kB / 0.8219 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.006341, allocations: 67.36 kB / 0.8219 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.006342, allocations: 0 / 0.8219 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.003805/0.01015, allocations: 1.408 MB / 0.8233 GB, free: 13.36 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94513535592705]