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.001622/0.001622, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001801/0.001801, allocations: 214.1 kB / 23 MB, free: 5.113 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002083/0.002083, allocations: 67.16 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001935/0.3967, allocations: 0.5566 MB / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.397, allocations: 119.7 kB / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.3971, allocations: 0 / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.574e-05/0.3972, allocations: 3.984 kB / 1.355 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.3972, allocations: 0 / 1.355 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.3974, allocations: 43.88 kB / 1.355 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.3975, allocations: 31.98 kB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.3975, allocations: 0 / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.3975, allocations: 15.98 kB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.3976, allocations: 15.97 kB / 1.355 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3976, allocations: 0 / 1.355 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.3977, allocations: 12 kB / 1.355 GB, free: 7.156 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.3977, allocations: 0 / 1.355 GB, free: 7.156 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.3977, allocations: 11.88 kB / 1.355 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3978, allocations: 35.89 kB / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3978, allocations: 0 / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3978, allocations: 0 / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3978, allocations: 4 kB / 1.355 GB, free: 7.105 MB / 1.045 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.0003832/0.3982, allocations: 280.1 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3983, allocations: 12.03 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3983, allocations: 4.938 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3984, allocations: 110.5 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3984, allocations: 384 / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3984, allocations: 4.375 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3986, allocations: 58.17 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3986, allocations: 4.188 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3986, allocations: 3.938 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3986, allocations: 3.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.3987, allocations: 19.92 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3988, allocations: 124.8 kB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.3989, allocations: 22.61 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.3989, allocations: 20.91 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.3989, allocations: 0 / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.399, allocations: 34.56 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.399, allocations: 0 / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002579/0.3992, allocations: 115.2 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3993, allocations: 77.11 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.3994, allocations: 97.84 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3994, allocations: 29.7 kB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.3994, allocations: 80.39 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3995, allocations: 7.953 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3995, allocations: 21.72 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3996, allocations: 314.8 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.3997, allocations: 12 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.3997, allocations: 11.98 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-05/0.3998, allocations: 80.27 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3998, allocations: 0 / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001408/0.3999, allocations: 103.4 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.4, allocations: 29.7 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4, allocations: 3.938 kB / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4, allocations: 0 / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.4, allocations: 4 kB / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4, allocations: 3.984 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4002, allocations: 4 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4002, allocations: 8 kB / 1.357 GB, free: 5.203 MB / 1.045 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.000119/0.4003, allocations: 148.2 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.4003, allocations: 4 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.4003, allocations: 7.094 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4003, allocations: 0 / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4003, allocations: 0 / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.4003, allocations: 3.938 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4004, allocations: 128.7 kB / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4004, allocations: 0 / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4004, allocations: 4 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4004, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4005, allocations: 7.922 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4005, allocations: 8 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4005, allocations: 4 kB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.4006, allocations: 122.8 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.4006, allocations: 7.938 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4007, allocations: 3.938 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.4008, allocations: 4 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.4008, allocations: 4 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4008, allocations: 12.02 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.4008, allocations: 79.28 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4008, allocations: 0 / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000197/0.401, allocations: 12 kB / 1.357 GB, free: 4.57 MB / 1.045 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.0002654/0.4013, allocations: 115.2 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4015, allocations: 83.38 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.4015, allocations: 75.33 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4017, allocations: 4.938 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.4021, allocations: 128.5 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4024, allocations: 0.6768 MB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.4024, allocations: 7.438 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.4024, allocations: 4.125 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of Templates: time 0.002698/0.4051, allocations: 0.8827 MB / 1.359 GB, free: 2.516 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.71139840601245]