Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.1 MB / 0.7177 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002099/0.3402, allocations: 0.5524 MB / 1.176 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.3405, allocations: 108.1 kB / 1.176 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.3405, allocations: 4 kB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3407, allocations: 7.938 kB / 1.177 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.3407, allocations: 0 / 1.177 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3409, allocations: 39.89 kB / 1.177 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3411, allocations: 27.97 kB / 1.177 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.3411, allocations: 11.94 kB / 1.177 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.3412, allocations: 12 kB / 1.177 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.3412, allocations: 11.98 kB / 1.177 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3413, allocations: 8 kB / 1.177 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.3413, allocations: 7.984 kB / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3413, allocations: 0 / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.3414, allocations: 19.92 kB / 1.177 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3415, allocations: 31.83 kB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3415, allocations: 0 / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3415, allocations: 0 / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3415, allocations: 4 kB / 1.177 GB, free: 5.082 MB / 0.92 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.0004239/0.342, allocations: 353.2 kB / 1.177 GB, free: 4.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.342, allocations: 12.03 kB / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3421, allocations: 8.938 kB / 1.177 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3422, allocations: 164.4 kB / 1.177 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3423, allocations: 384 / 1.177 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3423, allocations: 4.375 kB / 1.177 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3424, allocations: 62.17 kB / 1.177 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3424, allocations: 192 / 1.177 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3425, allocations: 3.938 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3425, allocations: 0 / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.3425, allocations: 11.98 kB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3427, allocations: 157.7 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.02e-05/0.3428, allocations: 22.61 kB / 1.177 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.3428, allocations: 20.91 kB / 1.177 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3428, allocations: 0 / 1.177 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3429, allocations: 42.44 kB / 1.177 GB, free: 4.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3429, allocations: 0 / 1.177 GB, free: 4.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002739/0.3432, allocations: 111.4 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.3432, allocations: 85.09 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.3433, allocations: 89.86 kB / 1.178 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3434, allocations: 29.7 kB / 1.178 GB, free: 3.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.3434, allocations: 80.14 kB / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.3435, allocations: 7.953 kB / 1.178 GB, free: 3.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.3435, allocations: 21.72 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3437, allocations: 315 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.3437, allocations: 16 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.3437, allocations: 7.984 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/0.3439, allocations: 88.2 kB / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3439, allocations: 0 / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001581/0.344, allocations: 95.38 kB / 1.178 GB, free: 3.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.3441, allocations: 33.7 kB / 1.178 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3441, allocations: 3.938 kB / 1.178 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3441, allocations: 0 / 1.178 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.567e-06/0.3441, allocations: 8.078 kB / 1.178 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3441, allocations: 0 / 1.178 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3443, allocations: 4 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3443, allocations: 11.98 kB / 1.178 GB, free: 2.98 MB / 0.92 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 0.0001144/0.3444, allocations: 143.5 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.3445, allocations: 4 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.3445, allocations: 11.06 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3445, allocations: 0 / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3445, allocations: 0 / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3445, allocations: 4 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.3446, allocations: 157.6 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3447, allocations: 0 / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.3447, allocations: 0 / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3447, allocations: 0 / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3447, allocations: 11.92 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3447, allocations: 0 / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3447, allocations: 0 / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3449, allocations: 126.8 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.345, allocations: 81.05 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.345, allocations: 3.938 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3451, allocations: 8 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3451, allocations: 3.984 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3451, allocations: 4 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.3452, allocations: 75.28 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002062/0.3454, allocations: 20.12 kB / 1.179 GB, free: 2.23 MB / 0.92 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.000263/0.3457, allocations: 118.5 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.3458, allocations: 91.31 kB / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3459, allocations: 0 / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.3459, allocations: 71.39 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3461, allocations: 8.125 kB / 1.179 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.3464, allocations: 130.6 kB / 1.179 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3468, allocations: 0.6729 MB / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.3468, allocations: 7.438 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3468, allocations: 0 / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of Templates: time 0.003015/0.3498, allocations: 0.8888 MB / 1.181 GB, free: 164 kB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.446338635054417]