Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01072/0.01072, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001454/0.001454, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7707, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001692/0.7725, allocations: 0.5472 MB / 1.088 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002597/0.7727, allocations: 117.8 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.7728, allocations: 0 / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.828e-05/0.7729, allocations: 10 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.773, allocations: 1.125 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.7731, allocations: 30.7 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.7732, allocations: 27.23 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.7733, allocations: 6.938 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.7733, allocations: 18.73 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.7734, allocations: 18.05 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.7734, allocations: 2.125 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.7734, allocations: 6.531 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.7735, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.7735, allocations: 15.42 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.7736, allocations: 33.77 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7736, allocations: 0.8438 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7736, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7737, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 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.0002576/0.7739, allocations: 358.7 kB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.774, allocations: 8.219 kB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.774, allocations: 8.922 kB / 1.089 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/0.7741, allocations: 162.8 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.7741, allocations: 3.016 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.7741, allocations: 12.64 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.7742, allocations: 56.47 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7743, allocations: 192 / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7743, allocations: 6.188 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7743, allocations: 4 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.7743, allocations: 9.734 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.7745, allocations: 153.6 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.7745, allocations: 30.23 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.7746, allocations: 16.59 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.7746, allocations: 0 / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.7746, allocations: 36.31 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7746, allocations: 5.156 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002526/0.7749, allocations: 109.1 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7749, allocations: 80.03 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.775, allocations: 98.56 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.775, allocations: 27.89 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.294e-05/0.775, allocations: 80.14 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.7751, allocations: 6.625 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7751, allocations: 31.91 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.7752, allocations: 312.2 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.7752, allocations: 10.52 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.7752, allocations: 17.17 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.843e-05/0.7753, allocations: 80.89 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7753, allocations: 0 / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000128/0.7754, allocations: 97.81 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.7755, allocations: 33.28 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7755, allocations: 8.031 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7755, allocations: 1.547 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.7755, allocations: 0 / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7755, allocations: 1.094 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.7757, allocations: 6 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.7757, allocations: 7.781 kB / 1.091 GB, free: 3.203 MB / 0.8575 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 5.647e-05/0.7757, allocations: 138.3 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.7758, allocations: 4.969 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.7758, allocations: 15.86 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7758, allocations: 1.156 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7758, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.7758, allocations: 0.5156 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.816e-05/0.7759, allocations: 151.6 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7759, allocations: 3.938 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.7759, allocations: 0 / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-06/0.7759, allocations: 1.188 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7759, allocations: 15.17 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7759, allocations: 1.188 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7759, allocations: 0.6562 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.776, allocations: 124.6 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.7761, allocations: 82.55 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.7761, allocations: 6.656 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.7762, allocations: 6.797 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.7762, allocations: 1.781 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.7762, allocations: 7.984 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.078e-05/0.7763, allocations: 81.83 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7763, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002055/0.7765, allocations: 12.7 kB / 1.091 GB, free: 2.551 MB / 0.8575 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.0002188/0.7767, allocations: 115.5 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.7769, allocations: 90.77 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.7769, allocations: 0 / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.7769, allocations: 71.48 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.7771, allocations: 7.859 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.7774, allocations: 109 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/0.7775, allocations: 0.6761 MB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.7776, allocations: 5.766 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.016e-05/0.7776, allocations: 8.594 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.7776, allocations: 128 / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.003503/0.7811, allocations: 1.095 MB / 1.093 GB, free: 1.352 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches