Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001586/0.001586, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001725/0.001725, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.72/2.72, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|timeSpan.2.",fileNamePrefix="Buildings_11_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_11_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.002033/0.002033, allocations: 63.72 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002497/0.3294, allocations: 1.277 MB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3307, allocations: 0.8181 MB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.3307, allocations: 0 / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3308, allocations: 7.938 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.331, allocations: 19.92 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3312, allocations: 46.42 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3313, allocations: 27.86 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3313, allocations: 3.984 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.3314, allocations: 8 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3315, allocations: 7.984 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3315, allocations: 0 / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.3316, allocations: 19.92 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3316, allocations: 7.938 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.3317, allocations: 7.984 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.3318, allocations: 23.86 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3318, allocations: 3.938 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3318, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3318, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 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.0003761/0.3322, allocations: 258.3 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3322, allocations: 12.03 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.3323, allocations: 84.2 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3325, allocations: 185.8 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.3325, allocations: 158.9 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.3326, allocations: 150.9 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.181e-05/0.3327, allocations: 107.4 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3327, allocations: 75.47 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.3328, allocations: 162.4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/0.3329, allocations: 150.6 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.333, allocations: 154.6 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.3333, allocations: 425 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3334, allocations: 169.1 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.3335, allocations: 88.19 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.3335, allocations: 79.22 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.3336, allocations: 109.8 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3336, allocations: 0 / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.654e-05/0.3337, allocations: 37.62 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.3337, allocations: 130.7 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3339, allocations: 105.8 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3339, allocations: 25.7 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3339, allocations: 80.14 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.334, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.334, allocations: 21.72 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3341, allocations: 314.8 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3341, allocations: 4 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.3342, allocations: 11.94 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.3342, allocations: 20.84 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3342, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.3343, allocations: 37.7 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3343, allocations: 4 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3344, allocations: 3.938 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3344, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.3344, allocations: 4 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3344, allocations: 3.984 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.3345, allocations: 4.125 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3345, allocations: 0 / 1.29 GB, free: 5.617 MB / 0.9825 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.0001358/0.3346, allocations: 185.1 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.3347, allocations: 112.9 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.3348, allocations: 120.3 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/0.3348, allocations: 180.2 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.993e-05/0.3349, allocations: 180.3 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/0.335, allocations: 176.3 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3353, allocations: 380.2 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-05/0.3353, allocations: 105 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.3354, allocations: 104.9 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.991e-05/0.3355, allocations: 180.3 kB / 1.292 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.3356, allocations: 188.2 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.331e-05/0.3356, allocations: 184.5 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.418e-05/0.3357, allocations: 180.5 kB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3359, allocations: 319.8 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.336, allocations: 108.9 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.3361, allocations: 184.2 kB / 1.293 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.3362, allocations: 101 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3362, allocations: 180.2 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.3363, allocations: 105 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.3364, allocations: 87.28 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3364, allocations: 4 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002514/0.3366, allocations: 4 kB / 1.293 GB, free: 2.121 MB / 0.9825 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.000349/0.337, allocations: 178.5 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.3371, allocations: 11.92 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3371, allocations: 0 / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3371, allocations: 8.062 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3375, allocations: 464.1 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3378, allocations: 194.5 kB / 1.294 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3381, allocations: 0.6768 MB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.3381, allocations: 7.438 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3381, allocations: 4 kB / 1.295 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of Templates: time 0.002052/0.3402, allocations: 0.522 MB / 1.295 GB, free: 12 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.26991305500269]