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.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.002054/0.002054, allocations: 108 kB / 17.08 MB, free: 6.016 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.00195/0.00195, allocations: 197.1 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.494/1.494, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001921/1.005, allocations: 0.5685 MB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002662/1.006, allocations: 113.5 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/1.006, allocations: 0 / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/1.006, allocations: 6.484 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/1.006, allocations: 0.8438 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/1.006, allocations: 37.59 kB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/1.006, allocations: 24.02 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/1.006, allocations: 3.344 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/1.006, allocations: 17.59 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/1.006, allocations: 13.56 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/1.006, allocations: 1.531 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/1.006, allocations: 7.188 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/1.006, allocations: 7.797 kB / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/1.006, allocations: 14.8 kB / 1.263 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/1.006, allocations: 37.3 kB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.006, allocations: 0 / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.006, allocations: 0.75 kB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.006, allocations: 0.6094 kB / 1.263 GB, free: 7.516 MB / 0.9981 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.0002934/1.007, allocations: 351.6 kB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.007, allocations: 9.75 kB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.007, allocations: 5.047 kB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.007, allocations: 166.7 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.007, allocations: 6.188 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/1.007, allocations: 3.906 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/1.007, allocations: 53.5 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.007, allocations: 1.031 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.007, allocations: 5.719 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.007, allocations: 0 / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/1.007, allocations: 13.77 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/1.007, allocations: 153.3 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.932e-05/1.007, allocations: 34.88 kB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/1.007, allocations: 19.61 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/1.007, allocations: 3.984 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.008, allocations: 33.17 kB / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/1.008, allocations: 0 / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002586/1.008, allocations: 109.4 kB / 1.264 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/1.008, allocations: 83.98 kB / 1.264 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/1.008, allocations: 98.59 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/1.008, allocations: 26.98 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/1.008, allocations: 81.55 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/1.008, allocations: 10.2 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/1.008, allocations: 27.61 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/1.008, allocations: 312.9 kB / 1.265 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/1.008, allocations: 13 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/1.008, allocations: 13.33 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/1.008, allocations: 85.17 kB / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.008, allocations: 0 / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001382/1.008, allocations: 94.56 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.008, allocations: 33.03 kB / 1.265 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.008, allocations: 4.5 kB / 1.265 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.008, allocations: 0.875 kB / 1.265 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/1.008, allocations: 0.6094 kB / 1.265 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.008, allocations: 8.875 kB / 1.265 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.009, allocations: 10 kB / 1.265 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/1.009, allocations: 7.953 kB / 1.265 GB, free: 5.664 MB / 0.9981 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.578e-05/1.009, allocations: 138.5 kB / 1.265 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/1.009, allocations: 4.875 kB / 1.265 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/1.009, allocations: 7.062 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.009, allocations: 1.297 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.009, allocations: 0.875 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.009, allocations: 0.5156 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.427e-05/1.009, allocations: 157.8 kB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.009, allocations: 4.875 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/1.009, allocations: 0.6094 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.009, allocations: 0.75 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.009, allocations: 7.828 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.009, allocations: 0.7969 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.009, allocations: 0.9375 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/1.009, allocations: 124.2 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/1.009, allocations: 78.67 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/1.009, allocations: 11.25 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.009, allocations: 5.906 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/1.009, allocations: 6.188 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/1.009, allocations: 4.766 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.016e-05/1.009, allocations: 76.75 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.009, allocations: 0 / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002153/1.01, allocations: 13.62 kB / 1.266 GB, free: 5.023 MB / 0.9981 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.0002405/1.01, allocations: 122.9 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001619/1.01, allocations: 82.72 kB / 1.266 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.01, allocations: 0 / 1.266 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/1.01, allocations: 71.12 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/1.01, allocations: 9.094 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/1.01, allocations: 138.1 kB / 1.266 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/1.011, allocations: 0.6754 MB / 1.267 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/1.011, allocations: 8.219 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.011, allocations: 0 / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.003051/1.014, allocations: 0.8819 MB / 1.268 GB, free: 3.848 MB / 0.9981 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 -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_2/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: 11.859163956018165]