Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_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.00103/0.00103, 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.0009546/0.0009545, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5791, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001827/0.581, allocations: 0.6169 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.5812, allocations: 111.7 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.5813, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.5813, allocations: 7.938 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.5814, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.5816, allocations: 31.97 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.5816, allocations: 31.97 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.5817, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.5817, allocations: 11.98 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.5818, allocations: 15.98 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.5818, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.073e-05/0.5818, allocations: 15.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.5818, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.5819, allocations: 15.88 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.582, allocations: 31.95 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.582, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.582, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.582, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 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.0003008/0.5823, allocations: 357.2 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.5823, allocations: 11.97 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.5824, allocations: 34.75 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.5824, allocations: 0.9375 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5825, allocations: 172.4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5825, allocations: 4.375 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.5826, allocations: 8.312 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.5827, allocations: 54.23 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5827, allocations: 3.938 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5827, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.5827, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.5828, allocations: 11.98 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.5829, allocations: 153.7 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.583, allocations: 34.55 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.583, allocations: 16.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-06/0.583, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.583, allocations: 34.56 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.583, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.5833, allocations: 111.2 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5833, allocations: 85.09 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.5834, allocations: 93.98 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5834, allocations: 33.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.5834, allocations: 80.14 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5835, allocations: 7.906 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5835, allocations: 21.7 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5836, allocations: 314.8 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.5836, allocations: 8 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.5837, allocations: 12.11 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.5838, allocations: 84.31 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5838, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001339/0.5839, allocations: 99.31 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.584, allocations: 45.62 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.584, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.584, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.584, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.584, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.5841, allocations: 10.28 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.5842, allocations: 7.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 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 8.111e-05/0.5843, allocations: 139.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.5843, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.5843, allocations: 3.125 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5843, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5843, allocations: 3.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5843, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.5844, allocations: 153.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5844, allocations: 11.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5844, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5844, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5844, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5845, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5845, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.5846, allocations: 126.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.5847, allocations: 77.11 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5847, allocations: 7.969 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5848, allocations: 7.984 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.5848, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.5848, allocations: 8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.5849, allocations: 75.28 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5849, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002089/0.5851, allocations: 12 kB / 1.02 GB, free: 14.9 MB / 0.7794 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.0004799/0.5856, allocations: 0.688 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.5857, allocations: 83.33 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5857, allocations: 4.094 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.5858, allocations: 71.39 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.5859, allocations: 8.75 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.5863, allocations: 142.6 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.5865, allocations: 0.669 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.709e-05/0.5866, allocations: 7.984 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.5866, allocations: 7.438 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5866, allocations: 3.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.8546, allocations: 1.783 MB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.8549, allocations: 232.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.512, allocations: 3.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches