Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 77.88 kB / 20.68 MB, free: 3.824 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.915/0.915, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.9 MB / 0.624 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.812 GB, free: 324 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.26e-05, allocations: 2.312 kB / 0.812 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001088/0.001101, allocations: 0.5827 MB / 0.8126 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.001278, allocations: 109.4 kB / 0.8127 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.0013, allocations: 0 / 0.8127 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.993e-05/0.00138, allocations: 4.719 kB / 0.8127 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.00142, allocations: 0 / 0.8127 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.537e-05/0.001515, allocations: 42.39 kB / 0.8127 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.001578, allocations: 27.97 kB / 0.8128 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.001608, allocations: 7.984 kB / 0.8128 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.001649, allocations: 16.7 kB / 0.8128 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.0017, allocations: 15.97 kB / 0.8128 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.001718, allocations: 0.9062 kB / 0.8128 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.351e-05/0.001752, allocations: 12 kB / 0.8128 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.001762, allocations: 0 / 0.8128 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.001782, allocations: 4.656 kB / 0.8128 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.019e-05/0.001862, allocations: 45.02 kB / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.001864, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.001864, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.001867, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7292 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.0002105/0.002077, allocations: 383.2 kB / 0.8132 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.002108, allocations: 12.03 kB / 0.8132 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.002136, allocations: 8.938 kB / 0.8132 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.761e-05/0.002193, allocations: 105.2 kB / 0.8133 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.002201, allocations: 4.938 kB / 0.8133 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.002209, allocations: 4.375 kB / 0.8133 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.00228, allocations: 81.17 kB / 0.8134 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-06/0.002284, allocations: 192 / 0.8134 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.002292, allocations: 8.359 kB / 0.8134 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.002295, allocations: 2.625 kB / 0.8134 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.002323, allocations: 37.64 kB / 0.8135 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.01e-05/0.002393, allocations: 105.2 kB / 0.8136 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.002438, allocations: 64.77 kB / 0.8136 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.00246, allocations: 41.45 kB / 0.8137 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-06/0.002463, allocations: 0.7188 kB / 0.8137 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.002481, allocations: 41.38 kB / 0.8137 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.002482, allocations: 0.6562 kB / 0.8137 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.002646, allocations: 159.4 kB / 0.8139 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.002672, allocations: 81.11 kB / 0.8139 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.002726, allocations: 155.9 kB / 0.8141 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.002736, allocations: 29.7 kB / 0.8141 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.002763, allocations: 126.9 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.00278, allocations: 7.953 kB / 0.8143 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.002807, allocations: 32.84 kB / 0.8143 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.002898, allocations: 496.1 kB / 0.8148 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.002919, allocations: 37.69 kB / 0.8148 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.002939, allocations: 37.69 kB / 0.8148 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.002983, allocations: 80.95 kB / 0.8149 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.002984, allocations: 0 / 0.8149 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.978e-05/0.003064, allocations: 125 kB / 0.815 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.003085, allocations: 34.91 kB / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.003089, allocations: 0 / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.003096, allocations: 4 kB / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.003096, allocations: 1.375 kB / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.003098, allocations: 0 / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.003155, allocations: 4 kB / 0.8151 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.003162, allocations: 3.938 kB / 0.8151 GB, free: 12.93 MB / 0.7292 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.854e-05/0.003221, allocations: 194.8 kB / 0.8153 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.003231, allocations: 12.53 kB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.018e-05/0.003241, allocations: 4.031 kB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.003242, allocations: 0 / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.003243, allocations: 0 / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003246, allocations: 0.8125 kB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.964e-05/0.003295, allocations: 105.2 kB / 0.8154 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.003296, allocations: 0.5312 kB / 0.8154 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.003296, allocations: 1.375 kB / 0.8154 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.003297, allocations: 0 / 0.8154 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.003305, allocations: 4 kB / 0.8154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003306, allocations: 0 / 0.8154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003307, allocations: 1.219 kB / 0.8154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.003402, allocations: 167.7 kB / 0.8155 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-06/0.003406, allocations: 0 / 0.8155 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-06/0.003415, allocations: 4.906 kB / 0.8155 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.003445, allocations: 7.984 kB / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.003456, allocations: 0.8438 kB / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.003461, allocations: 4 kB / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002754/0.003736, allocations: 124.5 kB / 0.8157 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.003737, allocations: 0 / 0.8157 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001218/0.003858, allocations: 19.89 kB / 0.8157 GB, free: 12.22 MB / 0.7292 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.0001191/0.003977, allocations: 121.7 kB / 0.8158 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.004067, allocations: 142.5 kB / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.004068, allocations: 4 kB / 0.8159 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.004106, allocations: 105.6 kB / 0.816 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.211e-05/0.004198, allocations: 17.66 kB / 0.8161 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.004364, allocations: 133.7 kB / 0.8162 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.244e-05/0.004386, allocations: 55.36 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.004405, allocations: 11.89 kB / 0.8163 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.004478, allocations: 94.19 kB / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.004478, allocations: 0 / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.002078/0.006556, allocations: 1.346 MB / 0.8177 GB, free: 10.14 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4984977301210165]