Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001602/0.001602, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001407/0.001407, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.413/1.413, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 72.08 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6784, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001753/0.6802, allocations: 0.5549 MB / 1.275 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.6804, allocations: 103.7 kB / 1.275 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.6805, allocations: 0 / 1.275 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.6805, allocations: 11.92 kB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.6806, allocations: 0 / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.6807, allocations: 39.95 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.6808, allocations: 31.92 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.6809, allocations: 0 / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.6809, allocations: 11.98 kB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.12e-05/0.681, allocations: 15.98 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.681, allocations: 0 / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.681, allocations: 12 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.681, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.6811, allocations: 19.91 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.6811, allocations: 30.62 kB / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6812, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6812, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6812, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9669 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.0003885/0.6815, allocations: 361.2 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6816, allocations: 11.97 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.6816, allocations: 4.938 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6818, allocations: 164.4 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6818, allocations: 8.375 kB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.6818, allocations: 8.359 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.6819, allocations: 54.17 kB / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6819, allocations: 4.125 kB / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6819, allocations: 7.938 kB / 1.275 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.6819, allocations: 0 / 1.275 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.682, allocations: 15.98 kB / 1.275 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.6821, allocations: 145.7 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.6822, allocations: 34.61 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.6822, allocations: 16.91 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.6822, allocations: 0 / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6823, allocations: 34.56 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.6823, allocations: 4 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002367/0.6825, allocations: 107.2 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.6826, allocations: 85.09 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.6826, allocations: 97.98 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6827, allocations: 29.7 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.6827, allocations: 80.14 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.6827, allocations: 3.953 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.6828, allocations: 21.72 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6829, allocations: 318.8 kB / 1.276 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.6829, allocations: 4 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.683, allocations: 15.98 kB / 1.276 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.6831, allocations: 88.39 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6831, allocations: 0 / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001469/0.6832, allocations: 95.38 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.6832, allocations: 29.7 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6833, allocations: 7.938 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6833, allocations: 3.984 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.6833, allocations: 4 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.6833, allocations: 0 / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.6834, allocations: 8.031 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6834, allocations: 4 kB / 1.277 GB, free: 1.594 MB / 0.9669 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.0001044/0.6835, allocations: 143.5 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6835, allocations: 4 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-06/0.6836, allocations: 7.062 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6836, allocations: 0 / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6836, allocations: 0 / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.6836, allocations: 7.938 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.6837, allocations: 149.6 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6837, allocations: 8 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.6837, allocations: 0 / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6837, allocations: 7.922 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.6837, allocations: 7.938 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6837, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6837, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.6839, allocations: 118.8 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.6839, allocations: 81.11 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6839, allocations: 7.969 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.684, allocations: 4 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.6841, allocations: 11.98 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.6841, allocations: 0 / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.6841, allocations: 79.28 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.6841, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002094/0.6843, allocations: 15.94 kB / 1.277 GB, free: 0.8477 MB / 0.9669 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.0002615/0.6846, allocations: 122 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.6848, allocations: 87.33 kB / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6848, allocations: 0 / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.6848, allocations: 67.39 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.685, allocations: 4 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.6852, allocations: 125 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.6856, allocations: 0.6729 MB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.6856, allocations: 3.984 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.6856, allocations: 7.438 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.6856, allocations: 4 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.003603/0.6892, allocations: 1.109 MB / 1.279 GB, free: 14.58 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.051616722717881]