Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.318/2.318, allocations: 251.2 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 181.9 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.654/2.654, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009014, allocations: 94.3 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006732/0.0006734, allocations: 12.53 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2341, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005632/0.2398, allocations: 3.603 MB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2088/0.4487, allocations: 136.5 MB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.4496, allocations: 15.94 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.4504, allocations: 126.9 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.002216/0.4526, allocations: 352.7 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.4555, allocations: 0.5926 MB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.4579, allocations: 1.054 MB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.4594, allocations: 0.4983 MB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009574/0.4603, allocations: 298.6 kB / 1.039 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.4613, allocations: 318.4 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.4615, allocations: 24 kB / 1.039 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.4637, allocations: 0.6474 MB / 1.04 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.4641, allocations: 167.3 kB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.4644, allocations: 169.2 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.4669, allocations: 1.127 MB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.4669, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.48e-06/0.4669, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.721e-05/0.467, allocations: 7.938 kB / 1.041 GB, free: 15.53 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003557/0.4705, allocations: 1.136 MB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4706, allocations: 8.031 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.4727, allocations: 211.6 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.4745, allocations: 0.6648 MB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.4747, allocations: 53.98 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.4748, allocations: 71.94 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.4776, allocations: 0.8255 MB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.4776, allocations: 0 / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.4778, allocations: 28 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.4778, allocations: 16 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.4815, allocations: 1.085 MB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.4881, allocations: 2.366 MB / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.4907, allocations: 0.7575 MB / 1.048 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.492, allocations: 306.7 kB / 1.048 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.4922, allocations: 36.66 kB / 1.048 GB, free: 7.754 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.4937, allocations: 467.6 kB / 1.049 GB, free: 7.281 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.477e-06/0.4938, allocations: 4 kB / 1.049 GB, free: 7.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.006158/0.4999, allocations: 1.19 MB / 1.05 GB, free: 6.059 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.5001, allocations: 192.5 kB / 1.05 GB, free: 5.828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5013, allocations: 0.59 MB / 1.051 GB, free: 5.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.5015, allocations: 37.7 kB / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5019, allocations: 348.4 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.5022, allocations: 236.6 kB / 1.051 GB, free: 4.609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.5023, allocations: 16 kB / 1.051 GB, free: 4.594 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.5025, allocations: 378.8 kB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.5037, allocations: 269.8 kB / 1.052 GB, free: 3.953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.505, allocations: 371.9 kB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5063, allocations: 314.9 kB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5063, allocations: 0 / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003804/0.5101, allocations: 0.8565 MB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5102, allocations: 4 kB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5102, allocations: 4 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.5112, allocations: 88.83 kB / 1.054 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.5128, allocations: 159.8 kB / 1.054 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.5159, allocations: 1.529 MB / 1.055 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.5173, allocations: 99.47 kB / 1.055 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.5175, allocations: 39.97 kB / 1.055 GB, free: 344 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000648/0.5181, allocations: 245.6 kB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.5184, allocations: 79.25 kB / 1.056 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6009/1.119, allocations: 1.131 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.119, allocations: 11.91 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.119, allocations: 1.5 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.119, allocations: 3.328 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.121, allocations: 0.8306 MB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.121, allocations: 0 / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.122, allocations: 162.6 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/1.123, allocations: 85.86 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.123, allocations: 29.31 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/1.126, allocations: 1.555 MB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.126, allocations: 1.438 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/1.13, allocations: 0.9194 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/1.131, allocations: 274.2 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/1.131, allocations: 19.77 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.132, allocations: 81.7 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.133, allocations: 63.12 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.133, allocations: 30.66 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001066/1.134, allocations: 422.6 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.81e-07/1.134, allocations: 0 / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001773/1.136, allocations: 276.6 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002487/1.138, allocations: 0.578 MB / 1.062 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004594/1.143, allocations: 0.8254 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.143, allocations: 3.062 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.145, allocations: 0.513 MB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.148, allocations: 264.7 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/1.157, allocations: 2.012 MB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.158, allocations: 0.987 MB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01451/1.173, allocations: 264.2 kB / 1.067 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/1.174, allocations: 103.2 kB / 1.067 GB, free: 152.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.174, allocations: 0.5938 kB / 1.067 GB, free: 152.2 MB / 0.698 GB Notification: Performance of Templates: time 0.06598/1.24, allocations: 13.09 MB / 1.08 GB, free: 147.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)