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.001121/0.001121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001158/0.001158, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.137/2.137, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5559, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001878/0.5579, allocations: 0.6115 MB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.5581, allocations: 105.8 kB / 0.9499 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.5581, allocations: 0 / 0.9499 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.5582, allocations: 5.375 kB / 0.9499 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.5583, allocations: 1.375 kB / 0.9499 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.5584, allocations: 37.66 kB / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.5585, allocations: 31.09 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.5586, allocations: 1.375 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.5586, allocations: 20.11 kB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.5587, allocations: 17.47 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.5587, allocations: 1.375 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.5587, allocations: 6.875 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.5587, allocations: 0 / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.5588, allocations: 9.5 kB / 0.9501 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.5589, allocations: 33.52 kB / 0.9501 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5589, allocations: 5.375 kB / 0.9501 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5589, allocations: 0 / 0.9501 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5589, allocations: 0 / 0.9501 GB, free: 8.465 MB / 0.7169 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.0002611/0.5592, allocations: 352.2 kB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5592, allocations: 9.625 kB / 0.9505 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.5593, allocations: 33.5 kB / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.5593, allocations: 7.594 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.5594, allocations: 169.8 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5594, allocations: 5.688 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5595, allocations: 12.48 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.5596, allocations: 51.98 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5596, allocations: 3.938 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5596, allocations: 1.375 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5596, allocations: 1.375 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.5597, allocations: 10.86 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.5598, allocations: 152.2 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.5598, allocations: 41 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.5599, allocations: 13.3 kB / 0.9509 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.5599, allocations: 0 / 0.9509 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5599, allocations: 31.56 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5599, allocations: 3.938 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.5601, allocations: 113.9 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5602, allocations: 79.36 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.5602, allocations: 96.27 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5602, allocations: 32.14 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.5603, allocations: 80.14 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.5603, allocations: 2.094 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.5603, allocations: 22.3 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.5604, allocations: 320.1 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.5604, allocations: 10.52 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.5604, allocations: 11.06 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.5605, allocations: 83.34 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5605, allocations: 0 / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.5606, allocations: 95.11 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5607, allocations: 43.97 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5607, allocations: 3.938 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5607, allocations: 1.281 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.5607, allocations: 0 / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.5607, allocations: 0 / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.5608, allocations: 7.406 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.5609, allocations: 14.42 kB / 0.9519 GB, free: 6.512 MB / 0.7169 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 5.742e-05/0.5609, allocations: 138 kB / 0.9521 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.561, allocations: 7.531 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.561, allocations: 3.125 kB / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.561, allocations: 0 / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.561, allocations: 1.062 kB / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.561, allocations: 0 / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.658e-05/0.561, allocations: 158.1 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5611, allocations: 0 / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-06/0.5611, allocations: 8 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5611, allocations: 5 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5611, allocations: 2.688 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5611, allocations: 0 / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5611, allocations: 1.219 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.5612, allocations: 121.2 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.5612, allocations: 77.11 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.5613, allocations: 10.62 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5614, allocations: 13.2 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.5614, allocations: 5.531 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.5614, allocations: 6.688 kB / 0.9525 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.037e-05/0.5614, allocations: 76.72 kB / 0.9525 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5614, allocations: 0 / 0.9525 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000189/0.5616, allocations: 13.03 kB / 0.9526 GB, free: 5.844 MB / 0.7169 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.0003721/0.562, allocations: 0.6746 MB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.5621, allocations: 79.23 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5621, allocations: 1.469 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.5622, allocations: 79.11 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.5623, allocations: 16.78 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.5627, allocations: 139.8 kB / 0.9535 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.5628, allocations: 0.6753 MB / 0.9542 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.82e-05/0.5629, allocations: 10.3 kB / 0.9542 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.5629, allocations: 12.56 kB / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5629, allocations: 0 / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.3/1.863, allocations: 1.778 MB / 0.9559 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.863, allocations: 228.1 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/3.534, allocations: 0 / 0.9562 GB, free: 3.027 MB / 0.7169 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