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.0009308/0.0009308, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009312/0.0009312, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.593/2.593, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004537, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6534, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007759/0.6542, allocations: 280.4 kB / 1.021 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.6545, allocations: 107.7 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.6545, allocations: 0 / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.835e-05/0.6546, allocations: 0 / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.6546, allocations: 0 / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.6548, allocations: 43.89 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.6548, allocations: 15.92 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.6549, allocations: 3.984 kB / 1.021 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.6549, allocations: 11.94 kB / 1.021 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.655, allocations: 12 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.655, allocations: 0 / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.655, allocations: 4 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.655, allocations: 0 / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.6551, allocations: 37.69 kB / 1.021 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.008e-05/0.6552, allocations: 19.97 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6552, allocations: 0 / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6552, allocations: 0 / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.6552, allocations: 0 / 1.021 GB, free: 0.5781 MB / 0.7637 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.0003081/0.6555, allocations: 343 kB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6555, allocations: 8.031 kB / 1.022 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.6556, allocations: 7.906 kB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.6557, allocations: 163.1 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6558, allocations: 7.938 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.6558, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.6559, allocations: 61.61 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6559, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6559, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6559, allocations: 3.938 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.656, allocations: 8 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.6561, allocations: 153.7 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.6562, allocations: 38.44 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.6562, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.6563, allocations: 30.56 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6563, allocations: 0 / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.6565, allocations: 111.4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6566, allocations: 81.09 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.6566, allocations: 102 kB / 1.022 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.6567, allocations: 29.7 kB / 1.022 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.6567, allocations: 80.14 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.6567, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.6567, allocations: 4 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6569, allocations: 310.8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.6569, allocations: 19.92 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.6569, allocations: 7.984 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.657, allocations: 37.89 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.657, allocations: 4 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001228/0.6571, allocations: 95.38 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.6572, allocations: 33.7 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6572, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6572, allocations: 7.938 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.6572, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.6572, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.6573, allocations: 11.89 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6574, allocations: 8 kB / 1.023 GB, free: 14.59 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.6575, allocations: 145.5 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.6575, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.6575, allocations: 7.125 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.6575, allocations: 3.953 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6575, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6575, allocations: 3.984 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6576, allocations: 153.7 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6576, allocations: 3.938 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.6577, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6577, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6577, allocations: 8 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6577, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6577, allocations: 11.89 kB / 1.023 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.6578, allocations: 122.8 kB / 1.023 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6579, allocations: 77.11 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.6579, allocations: 11.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.658, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.6581, allocations: 4.031 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.6581, allocations: 7.953 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.6581, allocations: 83.27 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6581, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001956/0.6583, allocations: 12 kB / 1.024 GB, free: 13.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.6585, allocations: 114 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.6587, allocations: 87.31 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6587, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.6587, allocations: 67.41 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.832e-05/0.6588, allocations: 4.562 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.6591, allocations: 106.7 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.6593, allocations: 0.6733 MB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.6594, allocations: 7.984 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.016e-05/0.6594, allocations: 7.438 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6594, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.003032/0.6624, allocations: 1.011 MB / 1.026 GB, free: 11.69 MB / 0.7794 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 -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","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches