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.0007548/0.0007548, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001923/0.002678, allocations: 440 kB / 10.41 MB, free: 284 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.001156/0.001156, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.00269, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9141/0.9141, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08408/0.9982, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.245/2.245, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2265/2.472, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.884e-05, allocations: 9.266 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001575/0.001594, allocations: 0.6222 MB / 0.8196 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.0018, allocations: 107.7 kB / 0.8197 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.001819, allocations: 0 / 0.8197 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.001861, allocations: 11.88 kB / 0.8197 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.2e-05/0.001873, allocations: 0 / 0.8197 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.001989, allocations: 35.91 kB / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.00208, allocations: 23.98 kB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.002114, allocations: 0 / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.002172, allocations: 27.91 kB / 0.8198 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.00224, allocations: 11.98 kB / 0.8198 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.00226, allocations: 4 kB / 0.8198 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.002307, allocations: 11.94 kB / 0.8198 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.00232, allocations: 0 / 0.8198 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.002341, allocations: 4 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.002455, allocations: 39.89 kB / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.002466, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002466, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.002476, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 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.0002918/0.002768, allocations: 258.4 kB / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.0028, allocations: 8.031 kB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.00284, allocations: 16.86 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.00293, allocations: 101.8 kB / 0.8202 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.002941, allocations: 4.375 kB / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.002956, allocations: 8.359 kB / 0.8202 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.003061, allocations: 83.92 kB / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.003067, allocations: 192 / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.003076, allocations: 384 / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.00308, allocations: 4.375 kB / 0.8203 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.003117, allocations: 41.62 kB / 0.8203 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.127e-05/0.003188, allocations: 57.05 kB / 0.8204 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.229e-05/0.003251, allocations: 60.23 kB / 0.8204 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.003284, allocations: 42.61 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.003288, allocations: 0 / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.003309, allocations: 34.56 kB / 0.8205 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.00331, allocations: 4 kB / 0.8205 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.003472, allocations: 142.8 kB / 0.8207 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.0035, allocations: 55.34 kB / 0.8207 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.003564, allocations: 106.6 kB / 0.8208 GB, free: 412 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.003579, allocations: 29.7 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.003601, allocations: 80.14 kB / 0.8209 GB, free: 292 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.003626, allocations: 4 kB / 0.8209 GB, free: 288 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.003668, allocations: 21.7 kB / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.003762, allocations: 314.8 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.003793, allocations: 37.89 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.003824, allocations: 45.69 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.003886, allocations: 80.23 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.003888, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001026/0.003991, allocations: 113 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.004029, allocations: 33.69 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004033, allocations: 0 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.004044, allocations: 4 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.004046, allocations: 0 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.004048, allocations: 0 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.004139, allocations: 16.05 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.00415, allocations: 0 / 0.8216 GB, free: 15.56 MB / 0.8073 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 8.144e-05/0.004231, allocations: 151.5 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.004248, allocations: 8 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.00426, allocations: 7.156 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004262, allocations: 0 / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.004265, allocations: 3.984 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004267, allocations: 0 / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.079e-05/0.004328, allocations: 65.84 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004329, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.00433, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.004334, allocations: 4 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004335, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.004343, allocations: 4 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004345, allocations: 0 / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004345, allocations: 0 / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.004468, allocations: 144.4 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.004482, allocations: 4 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.004535, allocations: 0 / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.004551, allocations: 11.98 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.004559, allocations: 0 / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.491e-05/0.004574, allocations: 12.89 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.004574, allocations: 0 / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001729/0.004747, allocations: 12 kB / 0.822 GB, free: 15.08 MB / 0.8073 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.0001828/0.00493, allocations: 104.5 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.005072, allocations: 135.8 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.005077, allocations: 8.094 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.005146, allocations: 105.9 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.315e-05/0.005209, allocations: 11.94 kB / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.005439, allocations: 150.3 kB / 0.8225 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.431e-05/0.005463, allocations: 55.38 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.005491, allocations: 7.984 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.005559, allocations: 71.36 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.005559, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.002305/0.007864, allocations: 1.408 MB / 0.824 GB, free: 12.95 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.72294729296118]