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.001498/0.001498, allocations: 120 kB / 17.17 MB, free: 5.977 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.001623/0.001623, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.412/1.412, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.839/2.839, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",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.001882/0.001882, allocations: 63.91 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8493, allocations: 179 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001642/0.851, allocations: 0.5565 MB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.8512, allocations: 106.2 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.8512, allocations: 1 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.441e-05/0.8513, allocations: 15.11 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.8514, allocations: 0 / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.8515, allocations: 30.16 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.8516, allocations: 30.73 kB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.8516, allocations: 6.469 kB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.8517, allocations: 14.66 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.8517, allocations: 17.39 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.8517, allocations: 6.406 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.8518, allocations: 10.66 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.8518, allocations: 4.812 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.8518, allocations: 9.766 kB / 1.341 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.92e-05/0.8519, allocations: 28.78 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8519, allocations: 0 / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8519, allocations: 0 / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8519, allocations: 1.781 kB / 1.341 GB, free: 15.77 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.00029/0.8522, allocations: 360.2 kB / 1.341 GB, free: 15.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8523, allocations: 10.02 kB / 1.341 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.8523, allocations: 5.562 kB / 1.341 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.949e-05/0.8523, allocations: 31.94 kB / 1.341 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.8523, allocations: 4.766 kB / 1.341 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.8524, allocations: 167.1 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.8524, allocations: 2.844 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.8524, allocations: 4.469 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.8525, allocations: 60.06 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.8526, allocations: 0 / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.8526, allocations: 6.031 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8526, allocations: 0.6094 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.8526, allocations: 10 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.8527, allocations: 153.1 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.8528, allocations: 28.95 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.8528, allocations: 14.83 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.8528, allocations: 0 / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.8528, allocations: 44.95 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.8528, allocations: 0 / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002186/0.8531, allocations: 105.7 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8531, allocations: 80.97 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.8531, allocations: 92.69 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8531, allocations: 28.48 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.8532, allocations: 85.17 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.8532, allocations: 11.09 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.8532, allocations: 22.94 kB / 1.342 GB, free: 14.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.8533, allocations: 320.4 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.8533, allocations: 9.25 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.8533, allocations: 17.66 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.8534, allocations: 77.38 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8534, allocations: 3.938 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.8535, allocations: 94.53 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.8535, allocations: 44.64 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8535, allocations: 1.062 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8535, allocations: 0 / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.8535, allocations: 4 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.8536, allocations: 5.688 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.8537, allocations: 6.109 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8537, allocations: 3.484 kB / 1.343 GB, free: 13.88 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 5.504e-05/0.8538, allocations: 138.6 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.8538, allocations: 8.875 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-06/0.8538, allocations: 7.922 kB / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.8538, allocations: 3.938 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8538, allocations: 2.172 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.8538, allocations: 0 / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.489e-05/0.8538, allocations: 153.6 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.8538, allocations: 1.219 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.8538, allocations: 0 / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.8538, allocations: 5.781 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8539, allocations: 3.375 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8539, allocations: 0.5156 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.8539, allocations: 4 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.854, allocations: 121.2 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.854, allocations: 82.94 kB / 1.343 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.854, allocations: 2.484 kB / 1.343 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.8541, allocations: 5.969 kB / 1.343 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.8541, allocations: 6.938 kB / 1.343 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.8541, allocations: 7.969 kB / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.8542, allocations: 81.33 kB / 1.343 GB, free: 13.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8542, allocations: 0 / 1.343 GB, free: 13.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001874/0.8543, allocations: 12.31 kB / 1.343 GB, free: 13.23 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.0003715/0.8547, allocations: 0.6861 MB / 1.344 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.8548, allocations: 81.27 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8548, allocations: 0 / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.8549, allocations: 74.72 kB / 1.344 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.855, allocations: 3.438 kB / 1.344 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.8554, allocations: 147.4 kB / 1.344 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.8554, allocations: 0.6721 MB / 1.345 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.684e-05/0.8555, allocations: 5.25 kB / 1.345 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.8555, allocations: 11.44 kB / 1.345 GB, free: 11.58 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8555, allocations: 1.438 kB / 1.345 GB, free: 11.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.8727, allocations: 1.923 MB / 1.347 GB, free: 11.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.615, allocations: 17.12 kB / 1.347 GB, free: 11.14 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.686801280011423]