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.008048/0.008049, allocations: 103.8 kB / 15.73 MB, free: 6.016 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.00186/0.00186, allocations: 187.4 kB / 16.67 MB, free: 5.945 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7663, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001901/0.7682, allocations: 0.5465 MB / 1.088 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.7685, allocations: 117.7 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.7685, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.7686, allocations: 10.78 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.7687, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.7689, allocations: 35.89 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.769, allocations: 23.02 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.7691, allocations: 2.516 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.7691, allocations: 22.16 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.7692, allocations: 17.95 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.7692, allocations: 0.8438 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.7693, allocations: 7.594 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.7693, allocations: 5.172 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.7693, allocations: 10.69 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.7694, allocations: 33.38 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7694, allocations: 1.406 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7694, allocations: 0 / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.7694, allocations: 0.5156 kB / 1.089 GB, free: 5.047 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.0002693/0.7697, allocations: 357.5 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.7698, allocations: 9 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.7698, allocations: 4.391 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.7699, allocations: 166.7 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.7699, allocations: 2.844 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.7699, allocations: 3.656 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.77, allocations: 57.31 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7701, allocations: 192 / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7701, allocations: 6.703 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.7701, allocations: 4 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.7701, allocations: 10.34 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.7702, allocations: 156.1 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.7703, allocations: 31.55 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.7703, allocations: 16.34 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.7704, allocations: 0 / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.7704, allocations: 40.48 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.7704, allocations: 0 / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002237/0.7706, allocations: 109.4 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.7706, allocations: 80.02 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.7707, allocations: 95.14 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7707, allocations: 26.83 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/0.7708, allocations: 84.89 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.7708, allocations: 6.984 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.7708, allocations: 27.28 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.7709, allocations: 316.5 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.7709, allocations: 13.89 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.771, allocations: 18.16 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.771, allocations: 75.91 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.771, allocations: 4.781 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.7712, allocations: 94.12 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7712, allocations: 37.53 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7712, allocations: 7.938 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7712, allocations: 1.125 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.7712, allocations: 0.6094 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7712, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.7714, allocations: 6.969 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.7714, allocations: 3.953 kB / 1.091 GB, free: 3.199 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.936e-05/0.7715, allocations: 138 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.7715, allocations: 3.953 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.7715, allocations: 12.84 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7715, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7715, allocations: 5.125 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7715, allocations: 4.594 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.205e-05/0.7716, allocations: 154.7 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7716, allocations: 0 / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.7716, allocations: 1.062 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7716, allocations: 0 / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.7716, allocations: 7.828 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.7716, allocations: 0.7031 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7717, allocations: 1.125 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.7718, allocations: 125 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.7718, allocations: 82.17 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7718, allocations: 6.531 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.772, allocations: 10.31 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.772, allocations: 2.812 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.772, allocations: 7.734 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.678e-05/0.772, allocations: 81.05 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.772, allocations: 1.156 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002035/0.7722, allocations: 12.81 kB / 1.091 GB, free: 2.547 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.000207/0.7724, allocations: 108 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.7726, allocations: 86.23 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7726, allocations: 3.938 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.7727, allocations: 71.84 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.0001495/0.7728, allocations: 5.156 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.0002792/0.7731, allocations: 110.2 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.7732, allocations: 0.6721 MB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.7733, allocations: 5.703 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/0.7733, allocations: 7.438 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.7733, allocations: 5.219 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.003983/0.7773, allocations: 1.117 MB / 1.093 GB, free: 1.336 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