Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001085/0.001085, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002511, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001018/0.001018, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002306, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9623/0.9623, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.055, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.778/1.778, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4726/2.25, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.244e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001895/0.001918, allocations: 0.6132 MB / 0.7299 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.002125, allocations: 119.1 kB / 0.7301 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.002144, allocations: 0.7656 kB / 0.7301 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.002186, allocations: 5.656 kB / 0.7301 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.308e-05/0.002199, allocations: 0 / 0.7301 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.002323, allocations: 40.39 kB / 0.7301 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.002435, allocations: 27.03 kB / 0.7301 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.002477, allocations: 8.859 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.002542, allocations: 24.64 kB / 0.7302 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.002614, allocations: 9.656 kB / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.002636, allocations: 0 / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.997e-05/0.002686, allocations: 21.64 kB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.002696, allocations: 1.422 kB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.002722, allocations: 8 kB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.002831, allocations: 21.08 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/0.002847, allocations: 0 / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002848, allocations: 1.062 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.002865, allocations: 4 kB / 0.7302 GB, free: 3.664 MB / 0.698 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.0003241/0.003189, allocations: 259.3 kB / 0.7305 GB, free: 3.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003223, allocations: 12.66 kB / 0.7305 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.003263, allocations: 6.812 kB / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.003368, allocations: 109.8 kB / 0.7306 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.00338, allocations: 384 / 0.7306 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.003392, allocations: 4.375 kB / 0.7306 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003496, allocations: 80.69 kB / 0.7307 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003502, allocations: 4.906 kB / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003511, allocations: 384 / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003516, allocations: 1.125 kB / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.003555, allocations: 42.69 kB / 0.7307 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.766e-05/0.003632, allocations: 57.05 kB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.003695, allocations: 56.3 kB / 0.7308 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.00373, allocations: 52.03 kB / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.003734, allocations: 0 / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.003757, allocations: 31.09 kB / 0.7309 GB, free: 2.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.003759, allocations: 0.9375 kB / 0.7309 GB, free: 2.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001755/0.003934, allocations: 150.7 kB / 0.7311 GB, free: 2.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.003963, allocations: 52.28 kB / 0.7311 GB, free: 2.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.004031, allocations: 104.1 kB / 0.7312 GB, free: 2.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.004044, allocations: 26.36 kB / 0.7312 GB, free: 2.469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.004069, allocations: 80.14 kB / 0.7313 GB, free: 2.387 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.004094, allocations: 7.953 kB / 0.7313 GB, free: 2.379 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.004138, allocations: 26.36 kB / 0.7313 GB, free: 2.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.004228, allocations: 318.8 kB / 0.7316 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.004265, allocations: 39.47 kB / 0.7317 GB, free: 1.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.004291, allocations: 34.58 kB / 0.7317 GB, free: 1.945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.388e-05/0.004355, allocations: 80.23 kB / 0.7318 GB, free: 1.852 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004357, allocations: 0.9062 kB / 0.7318 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.004465, allocations: 117 kB / 0.7319 GB, free: 1.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.004504, allocations: 34.52 kB / 0.7319 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.00451, allocations: 0 / 0.7319 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.004518, allocations: 0.875 kB / 0.7319 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-06/0.004524, allocations: 3.984 kB / 0.7319 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004527, allocations: 0.875 kB / 0.7319 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.004623, allocations: 8.734 kB / 0.7319 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.004635, allocations: 7.984 kB / 0.732 GB, free: 1.66 MB / 0.698 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 7.784e-05/0.004713, allocations: 140.5 kB / 0.7321 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.004731, allocations: 11.98 kB / 0.7321 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.004746, allocations: 3.906 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004748, allocations: 0 / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.004749, allocations: 0.6875 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.004752, allocations: 0.5469 kB / 0.7321 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.131e-05/0.004814, allocations: 66.41 kB / 0.7322 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004815, allocations: 1.156 kB / 0.7322 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.004816, allocations: 4 kB / 0.7322 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.00482, allocations: 0 / 0.7322 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004822, allocations: 2.125 kB / 0.7322 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.004833, allocations: 11.98 kB / 0.7322 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.004835, allocations: 4 kB / 0.7322 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.004837, allocations: 1.781 kB / 0.7322 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.004958, allocations: 136.4 kB / 0.7323 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.004972, allocations: 4 kB / 0.7323 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.005028, allocations: 7.984 kB / 0.7323 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.005038, allocations: 1.219 kB / 0.7323 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.005049, allocations: 8 kB / 0.7323 GB, free: 1.203 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.159e-05/0.005061, allocations: 5.609 kB / 0.7323 GB, free: 1.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005061, allocations: 1.312 kB / 0.7323 GB, free: 1.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001784/0.005239, allocations: 12.62 kB / 0.7324 GB, free: 1.184 MB / 0.698 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.000197/0.005436, allocations: 102.4 kB / 0.7325 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.005571, allocations: 136.4 kB / 0.7326 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.005575, allocations: 0 / 0.7326 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.005631, allocations: 107.4 kB / 0.7327 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.882e-05/0.00571, allocations: 11.94 kB / 0.7327 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.00601, allocations: 138.4 kB / 0.7328 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.006042, allocations: 56.39 kB / 0.7329 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.006081, allocations: 12.58 kB / 0.7329 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.006179, allocations: 71.36 kB / 0.733 GB, free: 472 kB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.00618, allocations: 1.094 kB / 0.733 GB, free: 472 kB / 0.698 GB Notification: Performance of Templates: time 0.003626/0.009806, allocations: 1.39 MB / 0.7343 GB, free: 15.15 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.672860213555396]