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.007991/0.007991, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001762/0.001762, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.328/2.328, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7686, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001849/0.7705, allocations: 0.5582 MB / 1.167 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.7708, allocations: 103.7 kB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.7708, allocations: 0 / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.7709, allocations: 11.92 kB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.771, allocations: 0 / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.7712, allocations: 39.91 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.7713, allocations: 23.98 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.7713, allocations: 11.92 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.7713, allocations: 11.98 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.7714, allocations: 11.98 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.7714, allocations: 8 kB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.488e-05/0.7715, allocations: 8 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.7715, allocations: 4 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.7715, allocations: 15.91 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.7716, allocations: 27.95 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.7717, allocations: 8 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7717, allocations: 0 / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.7717, allocations: 0 / 1.167 GB, free: 2.961 MB / 0.8887 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.0003502/0.772, allocations: 353.3 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7721, allocations: 8.922 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.7721, allocations: 34.75 kB / 1.167 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.7722, allocations: 4.938 kB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.7723, allocations: 160.4 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7723, allocations: 4.375 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.7723, allocations: 8.359 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7725, allocations: 58.11 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7725, allocations: 3.938 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7725, allocations: 4 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7725, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.7725, allocations: 23.97 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.7727, allocations: 145.7 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.863e-05/0.7728, allocations: 33.11 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.7728, allocations: 16.91 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.7728, allocations: 11.88 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.7729, allocations: 30.56 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.806e-06/0.7729, allocations: 4 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002314/0.7731, allocations: 111.2 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.7732, allocations: 77.11 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.7732, allocations: 101.8 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.7733, allocations: 29.7 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.7733, allocations: 80.14 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.7733, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.7734, allocations: 25.72 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7735, allocations: 323.1 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.7735, allocations: 8 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.7736, allocations: 15.92 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.489e-05/0.7736, allocations: 80.27 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7737, allocations: 4 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001328/0.7738, allocations: 95.38 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.7738, allocations: 33.64 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7738, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7739, allocations: 8.094 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.7739, allocations: 0 / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7739, allocations: 3.984 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.774, allocations: 6.25 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.774, allocations: 4 kB / 1.169 GB, free: 0.8164 MB / 0.8887 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.64e-05/0.7741, allocations: 143.5 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.7742, allocations: 7.938 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.7742, allocations: 7.062 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7742, allocations: 4 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7742, allocations: 0 / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7742, allocations: 4 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.7743, allocations: 145.7 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7743, allocations: 0 / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.7743, allocations: 4 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7743, allocations: 3.938 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7743, allocations: 7.984 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7743, allocations: 7.938 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7744, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.7745, allocations: 126.7 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.7746, allocations: 77.11 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.7746, allocations: 7.938 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.7747, allocations: 8 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.7747, allocations: 7.984 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.7747, allocations: 0 / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.7748, allocations: 83.31 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.884e-06/0.7748, allocations: 0 / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000199/0.775, allocations: 15.94 kB / 1.169 GB, free: 56 kB / 0.8887 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.000547/0.7755, allocations: 0.676 MB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.7757, allocations: 87.38 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7757, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.7757, allocations: 71.33 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.7759, allocations: 4.562 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.7763, allocations: 142.6 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.7766, allocations: 0.6729 MB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.45e-05/0.7766, allocations: 8.109 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.7767, allocations: 11.44 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7767, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.7952, allocations: 1.873 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/8.294, allocations: 10.58 kB / 1.173 GB, free: 12.53 MB / 0.9044 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