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.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.001984/0.001984, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002578/0.002578, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.242/3.242, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 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-master/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_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 0.002087/0.002087, allocations: 60.84 kB / 1.145 GB, free: 30.61 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 174.9 MB / 1.316 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001977/0.3645, allocations: 0.5559 MB / 1.317 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0002745/0.3647, allocations: 107.7 kB / 1.317 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.3648, allocations: 11.94 kB / 1.317 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 9.452e-05/0.3649, allocations: 7.984 kB / 1.317 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.3649, allocations: 0 / 1.317 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.3651, allocations: 35.84 kB / 1.317 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3652, allocations: 27.98 kB / 1.317 GB, free: 8.82 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3652, allocations: 3.984 kB / 1.317 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.018e-05/0.3653, allocations: 15.98 kB / 1.317 GB, free: 8.801 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.3653, allocations: 15.98 kB / 1.317 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3654, allocations: 4 kB / 1.317 GB, free: 8.781 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.3654, allocations: 8 kB / 1.317 GB, free: 8.773 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.3654, allocations: 3.938 kB / 1.317 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3655, allocations: 19.91 kB / 1.317 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3656, allocations: 27.91 kB / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3656, allocations: 0 / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.3656, allocations: 0 / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.29e-06/0.3656, allocations: 0 / 1.317 GB, free: 8.723 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.0003618/0.3659, allocations: 280.1 kB / 1.317 GB, free: 8.41 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.366, allocations: 16.03 kB / 1.317 GB, free: 8.395 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.366, allocations: 0.9375 kB / 1.317 GB, free: 8.395 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3661, allocations: 110.5 kB / 1.317 GB, free: 8.262 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3662, allocations: 384 / 1.317 GB, free: 8.262 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3662, allocations: 4.375 kB / 1.317 GB, free: 8.258 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3663, allocations: 54.23 kB / 1.317 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3663, allocations: 4.125 kB / 1.317 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3663, allocations: 7.938 kB / 1.317 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3663, allocations: 0 / 1.317 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.3664, allocations: 19.91 kB / 1.317 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3665, allocations: 128.8 kB / 1.317 GB, free: 8 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.267e-05/0.3666, allocations: 30.59 kB / 1.317 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.3666, allocations: 12.92 kB / 1.317 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3666, allocations: 0 / 1.317 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3667, allocations: 34.55 kB / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3667, allocations: 0 / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0002559/0.3669, allocations: 119.2 kB / 1.318 GB, free: 7.773 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.367, allocations: 77.11 kB / 1.318 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.3671, allocations: 97.86 kB / 1.318 GB, free: 7.574 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3671, allocations: 25.7 kB / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.3671, allocations: 84.14 kB / 1.318 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3672, allocations: 3.953 kB / 1.318 GB, free: 7.453 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3672, allocations: 25.7 kB / 1.318 GB, free: 7.422 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001314/0.3673, allocations: 315.1 kB / 1.318 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.3674, allocations: 11.98 kB / 1.318 GB, free: 7.094 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.3674, allocations: 12 kB / 1.318 GB, free: 7.082 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.3675, allocations: 84.25 kB / 1.318 GB, free: 6.984 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3675, allocations: 3.938 kB / 1.318 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001545/0.3677, allocations: 95.33 kB / 1.318 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.3677, allocations: 35.41 kB / 1.318 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3677, allocations: 3.938 kB / 1.318 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3677, allocations: 4.094 kB / 1.318 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3677, allocations: 0 / 1.318 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3677, allocations: 4 kB / 1.318 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3679, allocations: 4 kB / 1.318 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3679, allocations: 7.984 kB / 1.318 GB, free: 6.812 MB / 1.014 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.0001067/0.368, allocations: 136.4 kB / 1.319 GB, free: 6.664 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.368, allocations: 8 kB / 1.319 GB, free: 6.656 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.368, allocations: 7.094 kB / 1.319 GB, free: 6.645 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.368, allocations: 0 / 1.319 GB, free: 6.645 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.368, allocations: 4 kB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.368, allocations: 0 / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3681, allocations: 128.7 kB / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3681, allocations: 0 / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3681, allocations: 0 / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3681, allocations: 4 kB / 1.319 GB, free: 6.469 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3682, allocations: 3.938 kB / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3682, allocations: 0 / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3682, allocations: 4 kB / 1.319 GB, free: 6.461 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.3683, allocations: 126.8 kB / 1.319 GB, free: 6.312 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.3683, allocations: 3.953 kB / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3684, allocations: 7.938 kB / 1.319 GB, free: 6.301 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3685, allocations: 11.98 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.3685, allocations: 8 kB / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3685, allocations: 0 / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.613e-05/0.3686, allocations: 79.28 kB / 1.319 GB, free: 6.203 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 4.125 kB / 1.319 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002031/0.3688, allocations: 12 kB / 1.319 GB, free: 6.188 MB / 1.014 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.0002268/0.369, allocations: 109.6 kB / 1.319 GB, free: 6.07 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001748/0.3692, allocations: 83.39 kB / 1.319 GB, free: 5.977 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3692, allocations: 0 / 1.319 GB, free: 5.977 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.3692, allocations: 79.33 kB / 1.319 GB, free: 5.887 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.3694, allocations: 7.938 kB / 1.319 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.3697, allocations: 116.8 kB / 1.319 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.37, allocations: 0.6729 MB / 1.32 GB, free: 5.039 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.07e-05/0.3701, allocations: 7.984 kB / 1.32 GB, free: 5.031 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.3701, allocations: 7.438 kB / 1.32 GB, free: 5.023 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3701, allocations: 0 / 1.32 GB, free: 5.023 MB / 1.014 GB
Notification: Performance of Templates: time 0.003867/0.3739, allocations: 1.115 MB / 1.321 GB, free: 3.922 MB / 1.014 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/jenkins/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: 9.061448324471712]