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.001842/0.001842, 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.00257/0.00257, allocations: 211.4 kB / 22.24 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.828 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 3.028/3.028, allocations: 475.9 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 176] 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.002124/0.002124, allocations: 67.11 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3832, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002436/0.3856, allocations: 1.291 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3869, allocations: 0.8142 MB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.3869, allocations: 4 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.3869, allocations: 3.984 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3871, allocations: 19.88 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3873, allocations: 50.61 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.3874, allocations: 23.92 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3875, allocations: 3.984 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.3875, allocations: 11.94 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3876, allocations: 7.984 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3876, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.3877, allocations: 11.98 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.3877, allocations: 4 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3877, allocations: 7.938 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.3878, allocations: 23.91 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3878, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3878, allocations: 3.984 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3878, allocations: 0 / 1.285 GB, free: 9.711 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.0003314/0.3882, allocations: 258.3 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3882, allocations: 8.031 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.3883, allocations: 84.16 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3884, allocations: 185.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.3885, allocations: 150.9 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.3886, allocations: 150.9 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.3887, allocations: 111.4 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.3887, allocations: 79.47 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/0.3888, allocations: 154.5 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-05/0.3888, allocations: 150.6 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.3889, allocations: 154.5 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.3892, allocations: 405.6 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3893, allocations: 165.1 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.3894, allocations: 80.19 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.3894, allocations: 79.28 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.3895, allocations: 113.8 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3895, allocations: 3.938 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.323e-05/0.3896, allocations: 37.58 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.3897, allocations: 130.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3898, allocations: 105.9 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3898, allocations: 29.69 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.3899, allocations: 80.14 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.3899, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3899, allocations: 17.7 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3901, allocations: 318.8 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.3901, allocations: 3.984 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.3901, allocations: 37.64 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.3902, allocations: 28.88 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3902, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.3903, allocations: 37.7 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3903, allocations: 6.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3903, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.3903, allocations: 3.938 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3903, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3903, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.3904, allocations: 7.984 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3904, allocations: 0 / 1.288 GB, free: 6.41 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.0001191/0.3906, allocations: 189.2 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.3906, allocations: 112.8 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.3907, allocations: 116.4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.115e-05/0.3908, allocations: 184.2 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-05/0.3909, allocations: 180.2 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.608e-05/0.391, allocations: 180.3 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3912, allocations: 361 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-05/0.3913, allocations: 105 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.3913, allocations: 101 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.3914, allocations: 184.2 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.3915, allocations: 176.3 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.837e-05/0.3916, allocations: 188.2 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.994e-05/0.3917, allocations: 188.4 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3918, allocations: 307.8 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.3919, allocations: 113 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.392, allocations: 180.2 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.3921, allocations: 101 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.3922, allocations: 188.1 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.3922, allocations: 101 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.3923, allocations: 87.27 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002236/0.3925, allocations: 8 kB / 1.291 GB, free: 2.945 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.0002901/0.3928, allocations: 186.1 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.3929, allocations: 4 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3929, allocations: 0 / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.3929, allocations: 3.938 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3933, allocations: 463.7 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.3935, allocations: 164.9 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.355e-05/0.3936, allocations: 63.41 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.3936, allocations: 7.938 kB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3936, allocations: 7.438 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3936, allocations: 0 / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.002827/0.3964, allocations: 451.8 kB / 1.293 GB, free: 1.586 MB / 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/jenkins/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: 9.460078544914722]