Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.0008544/0.0008544, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002044, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007621/0.0007621, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001728, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9685/0.9685, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.078, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.886/1.886, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5398/2.426, allocations: 123.3 MB / 0.7283 GB, free: 5.723 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.758e-05, allocations: 6.859 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002782/0.00281, allocations: 1.363 MB / 0.731 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.003674, allocations: 0.8932 MB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.003694, allocations: 0 / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.003713, allocations: 4 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.003808, allocations: 10 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.003927, allocations: 58.42 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.004002, allocations: 20.58 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.004036, allocations: 7.984 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.004112, allocations: 17.97 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.004188, allocations: 9.844 kB / 0.732 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004202, allocations: 1.406 kB / 0.732 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.004238, allocations: 4 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.004282, allocations: 5.75 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.0043, allocations: 5.281 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.834e-05/0.004389, allocations: 21.55 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.004401, allocations: 4.906 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004401, allocations: 0 / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.004414, allocations: 4 kB / 0.732 GB, free: 1.996 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002628/0.004676, allocations: 225.4 kB / 0.7323 GB, free: 1.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.004706, allocations: 9.594 kB / 0.7323 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.004752, allocations: 80.2 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.004848, allocations: 193.5 kB / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.004884, allocations: 151.5 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.004923, allocations: 154.9 kB / 0.7328 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.093e-05/0.004963, allocations: 102.2 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.004982, allocations: 75.47 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.005015, allocations: 151.6 kB / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.005068, allocations: 156.6 kB / 0.7333 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.005101, allocations: 158.5 kB / 0.7334 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.005392, allocations: 361.2 kB / 0.7338 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.766e-05/0.00546, allocations: 166.2 kB / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.005482, allocations: 84.14 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.005498, allocations: 75.28 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.005531, allocations: 108.3 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 4.9e-07/0.005531, allocations: 0 / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.419e-05/0.005586, allocations: 33.64 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.005623, allocations: 126.7 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.005693, allocations: 123.4 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.005703, allocations: 25.7 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.005731, allocations: 84.62 kB / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.005732, allocations: 0.875 kB / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.005762, allocations: 19.39 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.005827, allocations: 314.8 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.005845, allocations: 6.828 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.005867, allocations: 25.7 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.00589, allocations: 12.56 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005892, allocations: 1.125 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.717e-05/0.005949, allocations: 41.62 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005961, allocations: 6.781 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.005967, allocations: 1.75 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.005978, allocations: 0 / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.00598, allocations: 0 / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005982, allocations: 0 / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.006047, allocations: 4 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.006056, allocations: 9.188 kB / 0.735 GB, free: 14.82 MB / 0.7136 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: 1 * Algorithm blocks: 0 * 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.652e-05/0.006132, allocations: 195.9 kB / 0.7352 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.006168, allocations: 109.6 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.006204, allocations: 104.5 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.006242, allocations: 181.4 kB / 0.7356 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-05/0.006286, allocations: 184.2 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/0.006329, allocations: 176.3 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.00645, allocations: 325.9 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.006472, allocations: 106.4 kB / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.006496, allocations: 109 kB / 0.7364 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.006534, allocations: 113.8 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.905e-05/0.006573, allocations: 180.4 kB / 0.7367 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.006613, allocations: 184.8 kB / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-05/0.00665, allocations: 181.8 kB / 0.737 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.621e-05/0.006686, allocations: 184.2 kB / 0.7372 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.007046, allocations: 307.7 kB / 0.7375 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.007098, allocations: 184.9 kB / 0.7377 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.007143, allocations: 105.2 kB / 0.7378 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.007181, allocations: 177.5 kB / 0.738 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.007205, allocations: 112.9 kB / 0.7381 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.58e-05/0.007221, allocations: 8.859 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007221, allocations: 1.062 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001204/0.007342, allocations: 4.656 kB / 0.7381 GB, free: 11.48 MB / 0.7136 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001811/0.007523, allocations: 165.4 kB / 0.7382 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.007579, allocations: 10.36 kB / 0.7382 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.007584, allocations: 4 kB / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.007586, allocations: 0.75 kB / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.007766, allocations: 470.8 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.008069, allocations: 183.5 kB / 0.7389 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.579e-05/0.008095, allocations: 51.36 kB / 0.7389 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.00811, allocations: 4 kB / 0.7389 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.008147, allocations: 52.61 kB / 0.739 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of SimCode: time 4.5e-07/0.008147, allocations: 0 / 0.739 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.00184/0.009988, allocations: 0.5203 MB / 0.7395 GB, free: 10.02 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.824525565840304]