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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001425/0.001425, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001542/0.001542, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 64.58 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2785, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001847/0.2804, allocations: 0.5461 MB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.2807, allocations: 130.1 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.2807, allocations: 0 / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.712e-05/0.2808, allocations: 4 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.2809, allocations: 0 / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.281, allocations: 39.83 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.2811, allocations: 23.98 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.2812, allocations: 4 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.2812, allocations: 23.97 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.2813, allocations: 11.98 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2813, allocations: 4 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.2813, allocations: 4 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2813, allocations: 11.86 kB / 1.028 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.2814, allocations: 12 kB / 1.028 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.881e-05/0.2815, allocations: 27.95 kB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2815, allocations: 0 / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2815, allocations: 4 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2815, allocations: 0 / 1.028 GB, free: 1.254 MB / 0.795 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.0002946/0.2818, allocations: 357.2 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.2818, allocations: 15.97 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2819, allocations: 4.938 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.282, allocations: 164.4 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.282, allocations: 384 / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.282, allocations: 4.375 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2821, allocations: 54.23 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.2821, allocations: 192 / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2822, allocations: 3.938 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2822, allocations: 4 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.2822, allocations: 19.92 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2824, allocations: 153.7 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.2824, allocations: 26.59 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.2825, allocations: 16.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-06/0.2825, allocations: 0 / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2825, allocations: 38.56 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2825, allocations: 0 / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002191/0.2827, allocations: 115.2 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2828, allocations: 81.11 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.2828, allocations: 93.86 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2829, allocations: 25.7 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.2829, allocations: 80.14 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2829, allocations: 7.906 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.283, allocations: 29.95 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.2831, allocations: 310.8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.2831, allocations: 12 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.2831, allocations: 11.98 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.2832, allocations: 80.25 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2832, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001265/0.2834, allocations: 95.33 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2834, allocations: 41.78 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2834, allocations: 3.938 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2834, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-06/0.2834, allocations: 3.984 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2835, allocations: 3.984 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2836, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.2836, allocations: 11.94 kB / 1.029 GB, free: 15.15 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.011e-05/0.2837, allocations: 147.5 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.2837, allocations: 0 / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.2837, allocations: 15.06 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2837, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2837, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.2837, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.2839, allocations: 161.6 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2839, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2839, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2839, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2839, allocations: 11.94 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2839, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2839, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.2841, allocations: 130.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.2841, allocations: 81.05 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2841, allocations: 3.938 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.2842, allocations: 11.98 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.2843, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2843, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.2843, allocations: 79.31 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2843, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001953/0.2845, allocations: 12 kB / 1.03 GB, free: 14.39 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.0002071/0.2847, allocations: 116.6 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2849, allocations: 79.48 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2849, allocations: 8.062 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.285, allocations: 75.33 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2851, allocations: 5.312 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.2854, allocations: 112.9 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2856, allocations: 0.669 MB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.2857, allocations: 7.984 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.2857, allocations: 7.438 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of SimCode: time 3.397e-06/0.2857, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of Templates: time 0.003063/0.2888, allocations: 1.102 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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