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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.75 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3104, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002316/0.3128, allocations: 0.5465 MB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.3131, allocations: 115.6 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.3131, allocations: 0 / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3133, allocations: 7.984 kB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.3133, allocations: 7.938 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3135, allocations: 43.89 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.3136, allocations: 19.98 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.3137, allocations: 4 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.3137, allocations: 15.92 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.3137, allocations: 15.97 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3138, allocations: 4 kB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.3138, allocations: 4 kB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3138, allocations: 7.938 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3139, allocations: 12 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.314, allocations: 27.95 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.314, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.314, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.314, allocations: 4 kB / 1.054 GB, free: 7.398 MB / 0.8106 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.0005332/0.3146, allocations: 353.3 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3146, allocations: 12.62 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.3146, allocations: 34.69 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3147, allocations: 8.938 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3148, allocations: 164.4 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3148, allocations: 4.375 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3149, allocations: 8.375 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.315, allocations: 50.23 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.315, allocations: 3.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.315, allocations: 7.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.315, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.3151, allocations: 15.98 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.3152, allocations: 149.7 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.3153, allocations: 34.59 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.3154, allocations: 12.92 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.3154, allocations: 0 / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3154, allocations: 30.56 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.3154, allocations: 0 / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002476/0.3157, allocations: 119.4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3157, allocations: 81.11 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.3158, allocations: 97.86 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3158, allocations: 25.7 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.3159, allocations: 84.14 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3159, allocations: 3.906 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.3159, allocations: 25.7 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.316, allocations: 310.8 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.3161, allocations: 16.11 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.3161, allocations: 12 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.3162, allocations: 88.19 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3162, allocations: 3.938 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.3163, allocations: 91.39 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.3164, allocations: 39.19 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3164, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3164, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.3164, allocations: 8.094 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3164, allocations: 3.984 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3166, allocations: 4.281 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3166, allocations: 7.984 kB / 1.056 GB, free: 5.25 MB / 0.8106 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.502e-05/0.3167, allocations: 147.4 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.3167, allocations: 11.92 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.3167, allocations: 3.125 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3167, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3167, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3167, allocations: 4 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.789e-05/0.3168, allocations: 153.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3168, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3168, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3168, allocations: 7.938 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3169, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3169, allocations: 3.938 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3169, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.317, allocations: 126.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.3171, allocations: 77.11 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3171, allocations: 11.94 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3172, allocations: 7.984 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3173, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3173, allocations: 8 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.3174, allocations: 79.28 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3174, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000201/0.3176, allocations: 16.12 kB / 1.056 GB, free: 4.5 MB / 0.8106 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.0004967/0.3181, allocations: 0.6768 MB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3182, allocations: 91.36 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3182, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.3183, allocations: 71.39 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3185, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.3189, allocations: 138.7 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3191, allocations: 0.6728 MB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.186e-05/0.3192, allocations: 7.984 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.3192, allocations: 15.5 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3192, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/2.659, allocations: 1.86 MB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.054/11.71, allocations: 6.641 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB (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 --timeout=50 --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) 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) Reference file matches