Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001937/0.001937, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002383/0.002383, allocations: 216.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.511/3.511, allocations: 0.5107 GB / 0.8158 GB, free: 17.92 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 72.5 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 181.9 MB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002451/0.3931, allocations: 1.277 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3944, allocations: 0.8223 MB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.3945, allocations: 0 / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.3945, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.3947, allocations: 15.92 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3949, allocations: 46.55 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.395, allocations: 27.91 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.3951, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.3951, allocations: 11.98 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.3952, allocations: 11.92 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3952, allocations: 4 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.3953, allocations: 11.94 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.3953, allocations: 7.984 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.3954, allocations: 7.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.763e-05/0.3955, allocations: 27.84 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 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.0003649/0.3958, allocations: 246.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3959, allocations: 12.03 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.396, allocations: 80.17 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3961, allocations: 193.7 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.3962, allocations: 154.9 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.3963, allocations: 150.9 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.3964, allocations: 113.5 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.3964, allocations: 75.47 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.3965, allocations: 158.5 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.3965, allocations: 154.6 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.3966, allocations: 150.6 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.3969, allocations: 405.6 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.397, allocations: 169.1 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.397, allocations: 80.14 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3971, allocations: 75.28 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.3971, allocations: 117.8 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3971, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.3972, allocations: 29.64 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.3973, allocations: 130.7 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3974, allocations: 105.8 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3974, allocations: 25.7 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.3975, allocations: 89.14 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.3975, allocations: 0 / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3975, allocations: 17.7 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3977, allocations: 322.8 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.3977, allocations: 4 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.3977, allocations: 37.69 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.3978, allocations: 16.86 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3978, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.3979, allocations: 41.69 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3979, allocations: 4 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3979, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3979, allocations: 3.938 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.3979, allocations: 0 / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3979, allocations: 4.125 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.398, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.398, allocations: 3.938 kB / 1.369 GB, free: 8.086 MB / 1.061 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 0.0001129/0.3981, allocations: 193 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.3982, allocations: 101 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.3982, allocations: 116.4 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/0.3983, allocations: 184.1 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.848e-05/0.3984, allocations: 176.3 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-05/0.3985, allocations: 188.2 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3987, allocations: 352.9 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.3987, allocations: 109 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3988, allocations: 104.9 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/0.3989, allocations: 180.4 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.399, allocations: 184.2 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.677e-05/0.399, allocations: 180.6 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.419e-05/0.3991, allocations: 188.2 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3993, allocations: 303.8 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3993, allocations: 120.9 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.3994, allocations: 176.3 kB / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.3995, allocations: 105 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.3996, allocations: 188.1 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.3996, allocations: 105 kB / 1.372 GB, free: 4.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.3997, allocations: 83.28 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 0 / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002343/0.3999, allocations: 4 kB / 1.372 GB, free: 4.621 MB / 1.061 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.0003162/0.4002, allocations: 190.5 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.4003, allocations: 7.938 kB / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4003, allocations: 0 / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.4003, allocations: 4.062 kB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.4007, allocations: 459.7 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.401, allocations: 172.8 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.401, allocations: 59.34 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.4011, allocations: 4 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.4011, allocations: 7.438 kB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4011, allocations: 0 / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of Templates: time 0.002732/0.4038, allocations: 447.8 kB / 1.374 GB, free: 3.25 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 9.740622328594327]