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.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 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.001398/0.001398, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.595/2.595, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 77.36 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2638, allocations: 159.1 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001812/0.2657, allocations: 0.5504 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.2659, allocations: 115.6 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.266, allocations: 0 / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/0.266, allocations: 8 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.2661, allocations: 0 / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.2663, allocations: 35.91 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.2663, allocations: 27.97 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.2664, allocations: 7.984 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2664, allocations: 8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.2665, allocations: 15.97 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2665, allocations: 4 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.2665, allocations: 4 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.2665, allocations: 4 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.2666, allocations: 11.94 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.749e-05/0.2667, allocations: 35.95 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2667, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2667, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2667, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 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.0003474/0.267, allocations: 357.3 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2671, allocations: 8.031 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.2671, allocations: 34.69 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2672, allocations: 4.938 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2673, allocations: 168.3 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2673, allocations: 4.375 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.2673, allocations: 4.375 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.2674, allocations: 58.22 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2675, allocations: 3.938 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2675, allocations: 7.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2675, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.2675, allocations: 8 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2677, allocations: 153.7 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.2678, allocations: 38.48 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.2678, allocations: 20.91 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.2678, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2678, allocations: 34.56 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2678, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002265/0.2681, allocations: 107.3 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.2681, allocations: 85.05 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.2682, allocations: 93.98 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2682, allocations: 33.69 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.2683, allocations: 80.14 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.2683, allocations: 7.906 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2684, allocations: 17.72 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2685, allocations: 318.8 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.2685, allocations: 7.984 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.2685, allocations: 8.125 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.2686, allocations: 88.31 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2686, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001385/0.2688, allocations: 95.38 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2688, allocations: 37.58 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2688, allocations: 4 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2689, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.2689, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2689, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.269, allocations: 12.3 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.269, allocations: 8 kB / 1.067 GB, free: 11.16 MB / 0.8262 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.506e-05/0.2691, allocations: 139.5 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2692, allocations: 7.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-06/0.2692, allocations: 11.05 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2692, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2692, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2692, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2693, allocations: 149.7 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2693, allocations: 8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2693, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2693, allocations: 3.938 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2693, allocations: 4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2693, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2693, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.2695, allocations: 126.7 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.2696, allocations: 85.02 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2696, allocations: 11.95 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2697, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2697, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2697, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.2698, allocations: 87.27 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2698, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001969/0.27, allocations: 12 kB / 1.067 GB, free: 10.41 MB / 0.8262 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.0005384/0.2705, allocations: 0.6797 MB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2707, allocations: 87.31 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2707, allocations: 4.094 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.2707, allocations: 71.39 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.2709, allocations: 4 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.2712, allocations: 131.3 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2715, allocations: 0.6768 MB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2716, allocations: 0 / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.2716, allocations: 11.44 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.174e-06/0.2716, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5672/0.8388, allocations: 1.866 MB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.33, allocations: 6.531 kB / 1.071 GB, free: 6.887 MB / 0.8262 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