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.007704/0.007704, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001736/0.001737, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.291/2.291, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.9509 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.76, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001566/0.7616, allocations: 0.5467 MB / 1.088 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.7618, allocations: 108.9 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.7618, allocations: 1.094 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.596e-05/0.7619, allocations: 13.12 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.762, allocations: 5.25 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.7621, allocations: 30.06 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.7622, allocations: 24.41 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.7623, allocations: 1.656 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.7623, allocations: 18.34 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.7623, allocations: 14.16 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.7624, allocations: 5.062 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.7624, allocations: 14.97 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.7624, allocations: 9.266 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.7625, allocations: 6.156 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.7626, allocations: 38.83 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7626, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7626, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.7626, allocations: 0.6562 kB / 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.0002407/0.7628, allocations: 353.6 kB / 1.089 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7629, allocations: 8.969 kB / 1.089 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.7629, allocations: 8.094 kB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.763, allocations: 163.2 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.763, allocations: 2.5 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.763, allocations: 4.5 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.7632, allocations: 52.62 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.7632, allocations: 5.266 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7632, allocations: 5.594 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7632, allocations: 1.281 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.7632, allocations: 16.81 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.759e-05/0.7633, allocations: 157.3 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.7634, allocations: 30.17 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.7634, allocations: 20.75 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.7634, allocations: 0 / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.7635, allocations: 32.41 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.7635, allocations: 0 / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002251/0.7637, allocations: 114.1 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.7637, allocations: 84 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.7638, allocations: 98.44 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.7638, allocations: 33.12 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.207e-05/0.7638, allocations: 80.14 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.7638, allocations: 2.719 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.7639, allocations: 27.44 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.7639, allocations: 316.5 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.764, allocations: 13.19 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.764, allocations: 10.09 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.7641, allocations: 81.31 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7641, allocations: 0 / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001222/0.7642, allocations: 97.81 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7643, allocations: 32.59 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.7643, allocations: 5.25 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.7643, allocations: 0.6562 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.7643, allocations: 4 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7643, allocations: 5.828 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.7644, allocations: 9.828 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.7645, allocations: 4.172 kB / 1.091 GB, free: 3.207 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.724e-05/0.7645, allocations: 146.5 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.7645, allocations: 3.891 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-06/0.7646, allocations: 7.672 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.7646, allocations: 1.125 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7646, allocations: 4 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7646, allocations: 1.562 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.178e-05/0.7646, allocations: 149.8 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7646, allocations: 0.7969 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.7646, allocations: 1.156 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.7647, allocations: 0 / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7647, allocations: 11.81 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7647, allocations: 0.7969 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7647, allocations: 1.062 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7648, allocations: 127.8 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.7648, allocations: 79.58 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.7649, allocations: 9.344 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.765, allocations: 7.391 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.765, allocations: 2.625 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.765, allocations: 7.828 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.765, allocations: 80.66 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.765, allocations: 4.844 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002084/0.7653, allocations: 12.73 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.0001777/0.7654, allocations: 108.6 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.7656, allocations: 85.2 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7656, allocations: 1.062 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.7656, allocations: 74.83 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.7658, allocations: 10.89 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.000247/0.766, allocations: 97.86 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.7661, allocations: 0.6721 MB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.261e-05/0.7662, allocations: 5.781 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-06/0.7662, allocations: 8.406 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.7662, allocations: 0 / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of Templates: time 0.00335/0.7696, allocations: 1.11 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