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.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.001655/0.001655, allocations: 78.25 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001783/0.001783, allocations: 158.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.844/2.844, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7627, allocations: 181.8 MB / 1.187 GB, free: 16.42 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001627/0.7643, allocations: 0.5598 MB / 1.187 GB, free: 16.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.7645, allocations: 110 kB / 1.187 GB, free: 16.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.7645, allocations: 4 kB / 1.187 GB, free: 16.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.095e-05/0.7646, allocations: 3.453 kB / 1.187 GB, free: 16.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.7646, allocations: 3.984 kB / 1.187 GB, free: 16.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.7648, allocations: 37.39 kB / 1.187 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.7649, allocations: 27.58 kB / 1.187 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.7649, allocations: 2.078 kB / 1.187 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.7649, allocations: 14.03 kB / 1.187 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.765, allocations: 20.86 kB / 1.187 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.765, allocations: 1.375 kB / 1.187 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.765, allocations: 11.38 kB / 1.187 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.7651, allocations: 1.375 kB / 1.187 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.7651, allocations: 13.98 kB / 1.187 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.7652, allocations: 26.02 kB / 1.187 GB, free: 15.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7652, allocations: 0 / 1.187 GB, free: 15.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7652, allocations: 1.375 kB / 1.187 GB, free: 15.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7652, allocations: 0 / 1.187 GB, free: 15.95 MB / 1.076 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.0002333/0.7654, allocations: 275.7 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.7654, allocations: 9.625 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.7655, allocations: 13 kB / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.7655, allocations: 113.9 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.7656, allocations: 5.688 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.7656, allocations: 4.5 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.7657, allocations: 84.94 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7657, allocations: 192 / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7657, allocations: 5.312 kB / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7657, allocations: 0.5625 kB / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.7657, allocations: 36.95 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.376e-05/0.7658, allocations: 102.7 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.7659, allocations: 61.5 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.7659, allocations: 44.48 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.7659, allocations: 1.375 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.766, allocations: 36.53 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.766, allocations: 0 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0002082/0.7662, allocations: 164.8 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.7662, allocations: 79.19 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.7662, allocations: 93.92 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.7662, allocations: 28.7 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.167e-05/0.7663, allocations: 88.8 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.7663, allocations: 6.703 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.7663, allocations: 24.02 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.7663, allocations: 317 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.7664, allocations: 35.25 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.7664, allocations: 40.56 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.7665, allocations: 77.02 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7665, allocations: 3.938 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001206/0.7666, allocations: 121.3 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7666, allocations: 40.72 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7666, allocations: 1.062 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7666, allocations: 4.594 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.7666, allocations: 0 / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.7666, allocations: 1.094 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.7668, allocations: 10.56 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.7668, allocations: 4.25 kB / 1.189 GB, free: 14.05 MB / 1.076 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.001e-05/0.7668, allocations: 139 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.7669, allocations: 7.25 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-06/0.7669, allocations: 8.812 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.7669, allocations: 3.938 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7669, allocations: 1.547 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.7669, allocations: 0 / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.139e-05/0.7669, allocations: 106.9 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7669, allocations: 1.125 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.7669, allocations: 0 / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7669, allocations: 1.547 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.7669, allocations: 3.891 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.7669, allocations: 0 / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7669, allocations: 5.031 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.7671, allocations: 151.9 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.7671, allocations: 1.766 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.7671, allocations: 3.203 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.7672, allocations: 6.906 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.7672, allocations: 9.844 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.7672, allocations: 3.344 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.689e-05/0.7672, allocations: 82.67 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7672, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001995/0.7674, allocations: 21.97 kB / 1.19 GB, free: 13.52 MB / 1.076 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.0001591/0.7676, allocations: 117.2 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.7677, allocations: 133 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7677, allocations: 1.406 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.7678, allocations: 97.59 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.7679, allocations: 4.344 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.7681, allocations: 135 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.361e-05/0.7681, allocations: 60.16 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.7682, allocations: 9.828 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-06/0.7682, allocations: 8.5 kB / 1.19 GB, free: 12.97 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.7682, allocations: 0 / 1.19 GB, free: 12.97 MB / 1.076 GB Notification: Performance of Templates: time 0.003515/0.7717, allocations: 1.234 MB / 1.192 GB, free: 12.77 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.25563232798595]