Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_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.004596/0.004596, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001211/0.001211, allocations: 193.8 kB / 16.68 MB, free: 6.363 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.627/2.627, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 75.83 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3031, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001894/0.305, allocations: 0.5524 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/0.3052, allocations: 117.4 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.3053, allocations: 0 / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.778e-05/0.3054, allocations: 7.984 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.996e-05/0.3054, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.3056, allocations: 39.91 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.3056, allocations: 23.97 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.3057, allocations: 4 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.3057, allocations: 19.92 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3058, allocations: 15.97 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3058, allocations: 4 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.3058, allocations: 4 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3059, allocations: 4 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.3059, allocations: 19.94 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.306, allocations: 27.95 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.306, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.306, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.306, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 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.0003408/0.3064, allocations: 357.2 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3064, allocations: 12.02 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.3064, allocations: 30.75 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3065, allocations: 4.938 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3066, allocations: 172.3 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3066, allocations: 4.375 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3067, allocations: 4.375 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3068, allocations: 54.23 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3068, allocations: 7.922 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3068, allocations: 4 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3068, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.3068, allocations: 8 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.307, allocations: 153.7 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.3071, allocations: 34.5 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.3071, allocations: 16.92 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3071, allocations: 7.969 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3071, allocations: 34.56 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3072, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002446/0.3074, allocations: 107.3 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3075, allocations: 81.23 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.3075, allocations: 97.8 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3076, allocations: 29.7 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.3076, allocations: 84.12 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3076, allocations: 7.891 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3077, allocations: 21.72 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3078, allocations: 314.8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.3079, allocations: 11.98 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.3079, allocations: 12.12 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.308, allocations: 84.25 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.308, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000139/0.3081, allocations: 95.38 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.3082, allocations: 39.3 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3082, allocations: 4 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3082, allocations: 3.938 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.3082, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.3082, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3083, allocations: 12.08 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3084, allocations: 8 kB / 1.223 GB, free: 11.33 MB / 0.9825 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.128e-05/0.3085, allocations: 136.1 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3085, allocations: 7.938 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-06/0.3085, allocations: 7.062 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3085, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3085, allocations: 3.984 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.3085, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3086, allocations: 153.7 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3086, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3086, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3086, allocations: 3.938 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3087, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3087, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3087, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3088, allocations: 122.8 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.3089, allocations: 85.14 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3089, allocations: 7.922 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.309, allocations: 4 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.309, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.309, allocations: 0 / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.3091, allocations: 83.28 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3091, allocations: 0 / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001842/0.3093, allocations: 15.98 kB / 1.223 GB, free: 10.59 MB / 0.9825 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.0005533/0.3098, allocations: 0.678 MB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.31, allocations: 87.31 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.31, allocations: 4.094 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.3101, allocations: 67.41 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3102, allocations: 7.984 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3106, allocations: 142.4 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3109, allocations: 0.6729 MB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.3109, allocations: 7.938 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.311, allocations: 7.438 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of SimCode: time 2.083e-06/0.311, allocations: 0 / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.165/2.476, allocations: 1.894 MB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/14.3, allocations: 9.062 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches