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.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.000963/0.000963, allocations: 76.45 kB / 19.93 MB, free: 4.613 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.001204/0.001204, allocations: 181.9 kB / 23.22 MB, free: 1.32 MB / 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.8939/0.8939, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.403e-06/1.403e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.955e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001097/0.001117, allocations: 0.5732 MB / 0.9523 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.001298, allocations: 99.67 kB / 0.9524 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.001319, allocations: 0 / 0.9524 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.916e-05/0.001408, allocations: 7.938 kB / 0.9524 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.001456, allocations: 0 / 0.9524 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.001569, allocations: 35.91 kB / 0.9524 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.001657, allocations: 35.91 kB / 0.9525 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.001701, allocations: 3.984 kB / 0.9525 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.001741, allocations: 15.98 kB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.001796, allocations: 11.98 kB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.001812, allocations: 0 / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.00185, allocations: 12 kB / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.00186, allocations: 0 / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.001885, allocations: 11.98 kB / 0.9525 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.00198, allocations: 35.89 kB / 0.9526 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001982, allocations: 4 kB / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.81e-07/0.001983, allocations: 0 / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.001986, allocations: 7.875 kB / 0.9526 GB, free: 2.137 MB / 0.9011 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.0002706/0.002257, allocations: 288 kB / 0.9528 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.002291, allocations: 8.031 kB / 0.9528 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.002322, allocations: 4.938 kB / 0.9529 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.002402, allocations: 101.8 kB / 0.9529 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.002412, allocations: 4.375 kB / 0.953 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.002424, allocations: 8.375 kB / 0.953 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.002525, allocations: 79.92 kB / 0.953 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.002531, allocations: 4.125 kB / 0.953 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.002543, allocations: 4.375 kB / 0.953 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.002547, allocations: 384 / 0.953 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.002583, allocations: 41.64 kB / 0.9531 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.8e-05/0.002681, allocations: 101.3 kB / 0.9532 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.002739, allocations: 56.3 kB / 0.9532 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.002769, allocations: 38.62 kB / 0.9533 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.002775, allocations: 0 / 0.9533 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.002797, allocations: 50.55 kB / 0.9533 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.002799, allocations: 3.984 kB / 0.9533 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.002989, allocations: 154.7 kB / 0.9535 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.003023, allocations: 81.11 kB / 0.9535 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.003079, allocations: 105.8 kB / 0.9536 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.003089, allocations: 25.7 kB / 0.9537 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.003112, allocations: 80.14 kB / 0.9537 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.003135, allocations: 7.953 kB / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.003162, allocations: 21.72 kB / 0.9538 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.003235, allocations: 311.1 kB / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.003266, allocations: 45.69 kB / 0.9541 GB, free: 324 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.003291, allocations: 37.69 kB / 0.9542 GB, free: 280 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.003349, allocations: 88.19 kB / 0.9542 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003351, allocations: 0 / 0.9542 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.715e-05/0.003448, allocations: 117.1 kB / 0.9543 GB, free: 40 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.003473, allocations: 33.69 kB / 0.9544 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.003477, allocations: 0 / 0.9544 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.003488, allocations: 4.125 kB / 0.9544 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.003488, allocations: 3.938 kB / 0.9544 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.003493, allocations: 4.094 kB / 0.9544 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.003585, allocations: 7.938 kB / 0.9544 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.003596, allocations: 7.984 kB / 0.9544 GB, free: 15.97 MB / 0.9167 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 6.086e-05/0.003657, allocations: 139.5 kB / 0.9545 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.003665, allocations: 4 kB / 0.9545 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-06/0.003674, allocations: 3.156 kB / 0.9545 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003675, allocations: 0 / 0.9545 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.003679, allocations: 3.938 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.003682, allocations: 7.938 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.67e-05/0.003729, allocations: 101.3 kB / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.003729, allocations: 4 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.00373, allocations: 0 / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.003731, allocations: 3.938 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.003739, allocations: 4 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00374, allocations: 0 / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.003741, allocations: 0 / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.003849, allocations: 156.4 kB / 0.9548 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.003854, allocations: 3.938 kB / 0.9548 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.003865, allocations: 4 kB / 0.9548 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.003912, allocations: 8.031 kB / 0.9548 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.003923, allocations: 0 / 0.9548 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.003931, allocations: 11.98 kB / 0.9548 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.003955, allocations: 79.28 kB / 0.9549 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.003955, allocations: 0 / 0.9549 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001338/0.004089, allocations: 15.94 kB / 0.9549 GB, free: 15.35 MB / 0.9167 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.0001544/0.004244, allocations: 115.3 kB / 0.955 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.00436, allocations: 138.7 kB / 0.9552 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.004361, allocations: 0 / 0.9552 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.004405, allocations: 97.09 kB / 0.9553 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.004517, allocations: 4.562 kB / 0.9553 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.004761, allocations: 163.7 kB / 0.9554 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.004796, allocations: 59.34 kB / 0.9555 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.004808, allocations: 12.44 kB / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/0.004808, allocations: 0 / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of Templates: time 0.001645/0.006453, allocations: 0.9083 MB / 0.9564 GB, free: 13.76 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.389318535104394]