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.001764/0.001764, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.002065/0.002065, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.167/3.167, allocations: 0.4899 GB / 0.7915 GB, free: 33.57 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.002107/0.002107, allocations: 74.14 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002023/0.341, allocations: 0.5552 MB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.3413, allocations: 120 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3413, allocations: 0 / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3414, allocations: 0 / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3415, allocations: 0 / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3416, allocations: 35.91 kB / 1.322 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.3417, allocations: 31.97 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3418, allocations: 0 / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.3418, allocations: 19.98 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3419, allocations: 11.98 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3419, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.131e-05/0.3419, allocations: 8 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3419, allocations: 11.86 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.342, allocations: 11.98 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3421, allocations: 31.89 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3421, allocations: 4 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3421, allocations: 0 / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3421, allocations: 0 / 1.322 GB, free: 2.039 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.0003875/0.3425, allocations: 357.2 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3425, allocations: 15.98 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.3426, allocations: 0.9375 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3427, allocations: 176.3 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3427, allocations: 4.375 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3427, allocations: 4.375 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3429, allocations: 58.22 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3429, allocations: 4.188 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3429, allocations: 3.938 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3429, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.3429, allocations: 11.98 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3431, allocations: 153.7 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.3432, allocations: 30.55 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.3432, allocations: 24.89 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.3432, allocations: 4 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3433, allocations: 30.56 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3433, allocations: 0 / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002743/0.3435, allocations: 107.3 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.3436, allocations: 81.11 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3437, allocations: 97.97 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3437, allocations: 33.77 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.3437, allocations: 84.14 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3438, allocations: 4 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3438, allocations: 17.72 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3439, allocations: 318.8 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.344, allocations: 8 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.344, allocations: 15.98 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.3441, allocations: 76.33 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3441, allocations: 0 / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001706/0.3443, allocations: 95.42 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.3443, allocations: 37.7 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3443, allocations: 7.922 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3443, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.3443, allocations: 3.938 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3443, allocations: 3.938 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3445, allocations: 11.89 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3445, allocations: 11.97 kB / 1.324 GB, free: 15.91 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.000106/0.3446, allocations: 143.5 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.3446, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.3446, allocations: 11.06 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3446, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3446, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.3446, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3447, allocations: 153.7 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3447, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.3448, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3448, allocations: 4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3448, allocations: 11.92 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3448, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3448, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3449, allocations: 122.8 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.345, allocations: 77.11 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.345, allocations: 15.88 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3451, allocations: 8.031 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.3451, allocations: 3.984 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3452, allocations: 8 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.3452, allocations: 75.28 kB / 1.324 GB, free: 15.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3452, allocations: 0 / 1.324 GB, free: 15.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002049/0.3454, allocations: 12 kB / 1.324 GB, free: 15.17 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.0002603/0.3457, allocations: 115.5 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.3458, allocations: 83.38 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3458, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.3459, allocations: 71.39 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.346, allocations: 5.375 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.3463, allocations: 109 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3466, allocations: 0.6807 MB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.922e-05/0.3467, allocations: 4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.3467, allocations: 7.438 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3467, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Templates: time 0.003717/0.3505, allocations: 1.111 MB / 1.327 GB, free: 12.91 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: 8.74932178389281]