Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001704/0.001704, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002028/0.002028, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.809 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.957/2.957, allocations: 476 MB / 0.7699 GB, free: 4.793 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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [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.002136/0.002136, allocations: 68.42 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3814, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002702/0.3841, allocations: 1.269 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3859, allocations: 1.085 MB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.386, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.386, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005362/0.3865, allocations: 111.5 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.3865, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.3866, allocations: 11.98 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3866, allocations: 0 / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.3866, allocations: 0 / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.3867, allocations: 4 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.3867, allocations: 4 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3869, allocations: 107.8 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.3869, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.387, allocations: 7.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3872, allocations: 95.77 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3872, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3872, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3872, allocations: 0 / 1.286 GB, free: 9.25 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.0003665/0.3876, allocations: 278 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3876, allocations: 8.031 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.3877, allocations: 80.16 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3879, allocations: 189.8 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.3879, allocations: 150.9 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.388, allocations: 154.9 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.3881, allocations: 109.1 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.3881, allocations: 75.28 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.3882, allocations: 150.6 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.3883, allocations: 150.6 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.3884, allocations: 154.5 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.3887, allocations: 397.6 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3888, allocations: 177.2 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.3889, allocations: 84.14 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.3889, allocations: 75.28 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.389, allocations: 105.8 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.389, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.807e-05/0.3891, allocations: 41.53 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.3891, allocations: 126.7 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3893, allocations: 97.86 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3893, allocations: 25.7 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.3893, allocations: 88.06 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.3893, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3893, allocations: 17.83 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3895, allocations: 314.8 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.3895, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.3895, allocations: 3.938 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.3896, allocations: 75.28 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.352e-05/0.3896, allocations: 79.28 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.089e-05/0.3897, allocations: 33.64 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.3897, allocations: 83.22 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/0.3897, allocations: 75.28 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.828e-05/0.3898, allocations: 158.5 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.383e-05/0.3899, allocations: 79.27 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-05/0.3899, allocations: 158.5 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.39, allocations: 83.22 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.3901, allocations: 75.28 kB / 1.289 GB, free: 5.191 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 (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 prepare postOptimizeDAE: time 0.0001467/0.3902, allocations: 264.4 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.3903, allocations: 109 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.3904, allocations: 112.1 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.031e-05/0.3904, allocations: 180.3 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.086e-05/0.3905, allocations: 180.2 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.785e-05/0.3906, allocations: 180.3 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.3909, allocations: 364.8 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.3909, allocations: 105 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.391, allocations: 101 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.3911, allocations: 184.2 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/0.3912, allocations: 184.2 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.422e-05/0.3913, allocations: 184.2 kB / 1.291 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-05/0.3913, allocations: 180.2 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.3915, allocations: 307.8 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3916, allocations: 105 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3917, allocations: 188.1 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.3918, allocations: 101 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.3919, allocations: 188.2 kB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.3919, allocations: 101 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.392, allocations: 83.28 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.392, allocations: 0 / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000362/0.3923, allocations: 43.73 kB / 1.293 GB, free: 1.637 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.0006856/0.393, allocations: 315.9 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.572e-05/0.3931, allocations: 4 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3931, allocations: 4 kB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.3931, allocations: 7.938 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3935, allocations: 455.7 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.3938, allocations: 160.9 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.3939, allocations: 51.36 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.296e-06/0.3939, allocations: 0 / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.3939, allocations: 11.44 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3939, allocations: 0 / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of Templates: time 0.003757/0.3977, allocations: 0.9838 MB / 1.295 GB, free: 15.66 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.309031130746007]