Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false)
Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"})
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005201/0.005201, allocations: 100.4 kB / 15.73 MB, free: 6.047 MB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 194 kB / 16.67 MB, free: 5.977 MB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB
Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.02 kB / 0.9504 GB, free: 6.047 MB / 0.7169 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3185, allocations: 140.4 MB / 1.087 GB, free: 2.094 MB / 0.8419 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002291/0.3209, allocations: 0.5438 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB
Notification: Performance of NFInst.instExpressions: time 0.00027/0.3212, allocations: 112 kB / 1.088 GB, free: 1.441 MB / 0.8419 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3212, allocations: 0 / 1.088 GB, free: 1.441 MB / 0.8419 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.3213, allocations: 11.92 kB / 1.088 GB, free: 1.43 MB / 0.8419 GB
Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.3214, allocations: 4 kB / 1.088 GB, free: 1.426 MB / 0.8419 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3216, allocations: 31.97 kB / 1.088 GB, free: 1.395 MB / 0.8419 GB
Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3217, allocations: 31.91 kB / 1.088 GB, free: 1.363 MB / 0.8419 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3219, allocations: 4 kB / 1.088 GB, free: 1.359 MB / 0.8419 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.322, allocations: 15.98 kB / 1.088 GB, free: 1.344 MB / 0.8419 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.322, allocations: 19.97 kB / 1.088 GB, free: 1.324 MB / 0.8419 GB
Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3221, allocations: 0 / 1.088 GB, free: 1.324 MB / 0.8419 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.3221, allocations: 12 kB / 1.088 GB, free: 1.312 MB / 0.8419 GB
Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3221, allocations: 3.938 kB / 1.088 GB, free: 1.309 MB / 0.8419 GB
Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.3222, allocations: 8 kB / 1.088 GB, free: 1.301 MB / 0.8419 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3223, allocations: 31.95 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3223, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB
Notification: Performance of FrontEnd: time 1.693e-06/0.3223, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB
Notification: Performance of Transformations before backend: time 6.633e-06/0.3223, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 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.0003731/0.3227, allocations: 357.3 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB
Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3227, allocations: 8.031 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.3228, allocations: 38.75 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3228, allocations: 4.875 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.323, allocations: 168.4 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.323, allocations: 384 / 1.089 GB, free: 0.6016 MB / 0.8419 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.323, allocations: 4.375 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3232, allocations: 58.16 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3232, allocations: 7.938 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3232, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3232, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.3232, allocations: 8 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.3234, allocations: 157.7 kB / 1.089 GB, free: 324 kB / 0.8419 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/0.3235, allocations: 30.59 kB / 1.089 GB, free: 284 kB / 0.8419 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.3235, allocations: 16.91 kB / 1.089 GB, free: 264 kB / 0.8419 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.3235, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3236, allocations: 38.5 kB / 1.089 GB, free: 216 kB / 0.8419 GB
Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3236, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB
Notification: Performance of matching and sorting (n=1): time 0.000254/0.3238, allocations: 111.3 kB / 1.089 GB, free: 92 kB / 0.8419 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.3239, allocations: 81.11 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.324, allocations: 93.84 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB
Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.324, allocations: 37.64 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB
Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.3241, allocations: 80.14 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB
Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3241, allocations: 7.906 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3241, allocations: 17.72 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB
Notification: Performance of setup shared object (initialization): time 0.0001114/0.3243, allocations: 319.1 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.3243, allocations: 11.98 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.3243, allocations: 8 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.3244, allocations: 84.19 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3244, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001452/0.3246, allocations: 99.38 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB
Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.3246, allocations: 43.36 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3246, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3247, allocations: 96 / 1.09 GB, free: 15.14 MB / 0.8575 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.3247, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3247, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3249, allocations: 10.8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.325, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 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 9.425e-05/0.3251, allocations: 135.5 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.3251, allocations: 11.88 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.3251, allocations: 7.109 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3251, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3252, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3252, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.3253, allocations: 157.6 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3253, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.3253, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3253, allocations: 3.938 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3253, allocations: 4 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3253, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3253, allocations: 3.984 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3255, allocations: 126.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.3255, allocations: 77.11 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3256, allocations: 7.922 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3257, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3257, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3257, allocations: 8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB
Notification: Performance of sorting global known variables: time 3.767e-05/0.3258, allocations: 79.27 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB
Notification: Performance of sort global known variables: time 1.61e-07/0.3258, allocations: 128 / 1.091 GB, free: 14.39 MB / 0.8575 GB
Notification: Performance of remove unused functions: time 0.0001985/0.326, allocations: 19.91 kB / 1.091 GB, free: 14.37 MB / 0.8575 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.0005755/0.3265, allocations: 0.6813 MB / 1.091 GB, free: 13.66 MB / 0.8575 GB
Notification: Performance of simCode: created initialization part: time 0.0001543/0.3267, allocations: 83.38 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3267, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB
Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.3268, allocations: 71.39 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3269, allocations: 7.938 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.3274, allocations: 138.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3276, allocations: 0.6768 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB
Notification: Performance of simCode: alias equations: time 0.000144/0.3278, allocations: 4.125 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3279, allocations: 11.44 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB
Notification: Performance of SimCode: time 1.373e-06/0.3279, allocations: 3.938 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.3484, allocations: 1.872 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.08, allocations: 6.375 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB
(rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)
diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches