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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 190.9 kB / 22.11 MB, free: 4.332 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.933/2.933, allocations: 495.8 MB / 0.783 GB, free: 12.33 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 1.137 GB, free: 12.23 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001867/1.077, allocations: 0.5634 MB / 1.307 GB, free: 33.42 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0002712/1.077, allocations: 107.4 kB / 1.307 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/1.077, allocations: 0 / 1.307 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001158/1.077, allocations: 6.766 kB / 1.307 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 5.584e-05/1.077, allocations: 7.938 kB / 1.307 GB, free: 33.34 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001541/1.078, allocations: 41.08 kB / 1.307 GB, free: 33.32 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 9.914e-05/1.078, allocations: 25.86 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/1.078, allocations: 3.188 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/1.078, allocations: 16.45 kB / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/1.078, allocations: 12.91 kB / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.148e-05/1.078, allocations: 6.781 kB / 1.308 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/1.078, allocations: 13.84 kB / 1.308 GB, free: 33.29 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.083e-05/1.078, allocations: 0 / 1.308 GB, free: 33.29 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.631e-05/1.078, allocations: 17.16 kB / 1.308 GB, free: 33.28 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001045/1.078, allocations: 35.67 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.078, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.084e-06/1.078, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.58e-06/1.078, allocations: 0 / 1.308 GB, free: 33.27 MB / 1.061 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.0002719/1.078, allocations: 282.6 kB / 1.308 GB, free: 32.97 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.078, allocations: 11.31 kB / 1.308 GB, free: 32.97 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/1.078, allocations: 3.781 kB / 1.308 GB, free: 32.97 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/1.079, allocations: 112.7 kB / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/1.079, allocations: 384 / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.079, allocations: 6.062 kB / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/1.079, allocations: 55.2 kB / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/1.079, allocations: 192 / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.079, allocations: 6.719 kB / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.079, allocations: 0 / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/1.079, allocations: 15.64 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/1.079, allocations: 127 kB / 1.308 GB, free: 32.63 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/1.079, allocations: 26.47 kB / 1.308 GB, free: 32.61 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/1.079, allocations: 14.61 kB / 1.308 GB, free: 32.6 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/1.079, allocations: 2.812 kB / 1.308 GB, free: 32.6 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/1.079, allocations: 34.27 kB / 1.308 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.079, allocations: 0 / 1.308 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1): time 0.000232/1.079, allocations: 112.8 kB / 1.308 GB, free: 32.48 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.079, allocations: 88.08 kB / 1.308 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/1.079, allocations: 96.41 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.129e-05/1.079, allocations: 25.7 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/1.079, allocations: 80.14 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/1.079, allocations: 10.86 kB / 1.309 GB, free: 32.16 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/1.079, allocations: 18.72 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.566e-05/1.079, allocations: 318.3 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/1.079, allocations: 8.625 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/1.079, allocations: 13.7 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/1.08, allocations: 82.28 kB / 1.309 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.08, allocations: 0 / 1.309 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001215/1.08, allocations: 98.45 kB / 1.309 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.08, allocations: 33.67 kB / 1.309 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.08, allocations: 3.938 kB / 1.309 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.08, allocations: 0 / 1.309 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/1.08, allocations: 4 kB / 1.309 GB, free: 31.63 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.08, allocations: 4.094 kB / 1.309 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/1.08, allocations: 9.109 kB / 1.309 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/1.08, allocations: 7.156 kB / 1.309 GB, free: 31.62 MB / 1.061 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 6.608e-05/1.08, allocations: 148.3 kB / 1.309 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/1.08, allocations: 6.922 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/1.08, allocations: 7.094 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/1.08, allocations: 2.875 kB / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.08, allocations: 0 / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.08, allocations: 0 / 1.309 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.709e-05/1.08, allocations: 134 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.08, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/1.08, allocations: 3.156 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/1.08, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.08, allocations: 6.594 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.08, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.08, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/1.08, allocations: 130.1 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/1.08, allocations: 2.906 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.08, allocations: 6.531 kB / 1.31 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.08, allocations: 3.062 kB / 1.31 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/1.08, allocations: 9.734 kB / 1.31 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/1.08, allocations: 3.469 kB / 1.31 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 1.947e-05/1.08, allocations: 79.28 kB / 1.31 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.08, allocations: 3.219 kB / 1.31 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0001974/1.081, allocations: 11.47 kB / 1.31 GB, free: 31.09 MB / 1.061 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.0002179/1.081, allocations: 110.5 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001363/1.081, allocations: 82.88 kB / 1.31 GB, free: 30.93 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.081, allocations: 3.938 kB / 1.31 GB, free: 30.93 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 4.454e-05/1.081, allocations: 69.8 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/1.081, allocations: 2.969 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/1.081, allocations: 111.9 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/1.081, allocations: 0.672 MB / 1.311 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 7.534e-05/1.082, allocations: 6.578 kB / 1.311 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/1.082, allocations: 7.438 kB / 1.311 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of SimCode: time 3.11e-07/1.082, allocations: 0 / 1.311 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of Templates: time 0.003516/1.085, allocations: 1.131 MB / 1.312 GB, free: 29.88 MB / 1.061 GB
"
[Timeout remaining time 299]
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.507412874139845]