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.001655/0.001655, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00192/0.00192, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.464/1.464, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.821/2.821, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002742/0.002742, allocations: 63.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7431, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001727/0.7449, allocations: 0.5587 MB / 1.275 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000252/0.7451, allocations: 115.6 kB / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.7451, allocations: 0 / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.7452, allocations: 7.922 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.7453, allocations: 0 / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.7455, allocations: 39.97 kB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.7456, allocations: 23.92 kB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.7456, allocations: 7.984 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.7457, allocations: 19.92 kB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.7457, allocations: 11.98 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7458, allocations: 4 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.7458, allocations: 4 kB / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.7458, allocations: 0 / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.7458, allocations: 23.91 kB / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.7459, allocations: 22.64 kB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7459, allocations: 3.984 kB / 1.275 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7459, allocations: 4 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.7459, allocations: 0 / 1.275 GB, free: 3.73 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.0004508/0.7464, allocations: 357.2 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.7464, allocations: 12.03 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.7465, allocations: 0.9375 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.7466, allocations: 168.4 kB / 1.275 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7466, allocations: 384 / 1.275 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.7467, allocations: 4.375 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.7468, allocations: 62.22 kB / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.7468, allocations: 4.125 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7468, allocations: 3.938 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.7468, allocations: 0 / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.7468, allocations: 8 kB / 1.275 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.747, allocations: 153.7 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.7471, allocations: 30.59 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.7471, allocations: 20.91 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.7471, allocations: 4 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.7471, allocations: 30.56 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.7471, allocations: 3.938 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002416/0.7474, allocations: 111.2 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.7474, allocations: 81.11 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.7475, allocations: 97.84 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7475, allocations: 25.7 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.7476, allocations: 88.39 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.7476, allocations: 11.89 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.7477, allocations: 17.72 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7478, allocations: 314.8 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.7478, allocations: 11.98 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.7479, allocations: 15.98 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.748, allocations: 76.2 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.748, allocations: 4.062 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000154/0.7481, allocations: 95.38 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.7481, allocations: 33.7 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7482, allocations: 3.938 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.7482, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.7482, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.7482, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.7483, allocations: 15.98 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.7483, allocations: 3.984 kB / 1.277 GB, free: 1.629 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.0001104/0.7484, allocations: 143.6 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.7484, allocations: 4 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.7485, allocations: 15.03 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7485, allocations: 0 / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7485, allocations: 0 / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.7485, allocations: 0 / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.7486, allocations: 157.7 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7486, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.7486, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.7486, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.7486, allocations: 15.88 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7486, allocations: 0 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7486, allocations: 0 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.7488, allocations: 122.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.7489, allocations: 81.09 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.7489, allocations: 11.88 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.749, allocations: 4 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.749, allocations: 4.031 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.749, allocations: 4 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.7491, allocations: 83.27 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.7491, allocations: 0 / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002061/0.7493, allocations: 19.94 kB / 1.277 GB, free: 0.8711 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.0002091/0.7495, allocations: 109.4 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.7496, allocations: 87.31 kB / 1.277 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7496, allocations: 0 / 1.277 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.7497, allocations: 75.33 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.7499, allocations: 5.719 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.7501, allocations: 116.8 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.7505, allocations: 0.6729 MB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.7505, allocations: 8.125 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.7505, allocations: 7.438 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.7505, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of Templates: time 0.003576/0.7541, allocations: 1.114 MB / 1.279 GB, free: 14.61 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 cvode -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.399028823710978]