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.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.001837/0.001837, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001649/0.001649, allocations: 220.3 kB / 22.26 MB, free: 5.117 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.113/3.113, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 79.59 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002335/0.3552, allocations: 0.5624 MB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002877/0.3555, allocations: 123.6 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.3555, allocations: 0 / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3556, allocations: 0 / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.3557, allocations: 0 / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3559, allocations: 47.83 kB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.356, allocations: 23.98 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.356, allocations: 3.984 kB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.3561, allocations: 12 kB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.3561, allocations: 23.97 kB / 1.354 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3562, allocations: 4 kB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.3562, allocations: 4 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.3562, allocations: 0 / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3563, allocations: 19.92 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3564, allocations: 24.19 kB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3564, allocations: 0 / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3564, allocations: 0 / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3564, allocations: 0 / 1.354 GB, free: 7.598 MB / 1.045 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.0003739/0.3568, allocations: 284 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3568, allocations: 16.03 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3568, allocations: 30.75 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3569, allocations: 8.875 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.357, allocations: 114.5 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.357, allocations: 384 / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.357, allocations: 4.375 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3572, allocations: 50.23 kB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3572, allocations: 7.922 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3572, allocations: 4 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3572, allocations: 4 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.3572, allocations: 8 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.3574, allocations: 124.8 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.3574, allocations: 34.53 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.3575, allocations: 8.922 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-06/0.3575, allocations: 4 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3575, allocations: 42.55 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3575, allocations: 0 / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002647/0.3578, allocations: 107.3 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.3578, allocations: 85.05 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.3579, allocations: 97.86 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.358, allocations: 29.64 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.358, allocations: 80.14 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.358, allocations: 15.92 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.3581, allocations: 25.97 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3582, allocations: 310.8 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.3582, allocations: 11.98 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.3583, allocations: 12 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.3584, allocations: 76.25 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3584, allocations: 0 / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001424/0.3585, allocations: 95.38 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.3586, allocations: 41.73 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3586, allocations: 7.938 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3586, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3586, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3586, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3587, allocations: 7.984 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3587, allocations: 4 kB / 1.355 GB, free: 5.641 MB / 1.045 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.000112/0.3588, allocations: 147.4 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.3589, allocations: 7.938 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.3589, allocations: 11.09 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3589, allocations: 3.984 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3589, allocations: 0 / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3589, allocations: 3.984 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.359, allocations: 124.8 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.359, allocations: 0 / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.359, allocations: 0 / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.359, allocations: 3.938 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.359, allocations: 4 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.359, allocations: 0 / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.359, allocations: 0 / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3592, allocations: 130.8 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.3592, allocations: 0 / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3592, allocations: 7.938 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3593, allocations: 7.984 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.3593, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3593, allocations: 8 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.3594, allocations: 83.31 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3594, allocations: 0 / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001918/0.3596, allocations: 12 kB / 1.356 GB, free: 5.012 MB / 1.045 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.0005879/0.3602, allocations: 0.6806 MB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3603, allocations: 83.33 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3603, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.3604, allocations: 67.39 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.3605, allocations: 8 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.361, allocations: 134.7 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3613, allocations: 0.6769 MB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.3614, allocations: 4 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.3614, allocations: 7.438 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.3614, allocations: 0 / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.3911, allocations: 1.979 MB / 1.359 GB, free: 1.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.12, allocations: 6.781 kB / 1.359 GB, free: 1.387 MB / 1.045 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 17.72248915792443]