Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.618/2.618, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.001427/0.001427, allocations: 187.4 kB / 325.8 MB, free: 2.77 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.485/2.485, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.0008988/0.0008985, allocations: 86.98 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 9.062 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005394/0.2112, allocations: 3.463 MB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.213/0.4242, allocations: 136.4 MB / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007946/0.4251, allocations: 15.94 kB / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.4257, allocations: 119 kB / 1.036 GB, free: 4.961 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.00172/0.4274, allocations: 325.4 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.4298, allocations: 0.5335 MB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.4315, allocations: 0.934 MB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.4326, allocations: 457.3 kB / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.4332, allocations: 246.9 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.4337, allocations: 266.6 kB / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4338, allocations: 20 kB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.4346, allocations: 195.8 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.4348, allocations: 143.4 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.4351, allocations: 157.3 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4366, allocations: 0.8653 MB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4366, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4366, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.347e-05/0.4367, allocations: 0 / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002555/0.4392, allocations: 0.9826 MB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4393, allocations: 8.031 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.4397, allocations: 95.81 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.4412, allocations: 0.6407 MB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.4413, allocations: 41.31 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4414, allocations: 63.94 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.4432, allocations: 0.6853 MB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.4433, allocations: 4 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4434, allocations: 24 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.4434, allocations: 19.94 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.4457, allocations: 0.918 MB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.4508, allocations: 2.343 MB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.4524, allocations: 0.5975 MB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.453, allocations: 223.3 kB / 1.046 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4531, allocations: 20.61 kB / 1.046 GB, free: 9.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.454, allocations: 350.4 kB / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.955e-06/0.454, allocations: 0 / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.002078/0.4561, allocations: 0.6974 MB / 1.047 GB, free: 8.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.4562, allocations: 251.8 kB / 1.048 GB, free: 8.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.4573, allocations: 0.5627 MB / 1.048 GB, free: 7.996 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.4575, allocations: 41.69 kB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.4578, allocations: 332.5 kB / 1.048 GB, free: 7.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.4581, allocations: 197.1 kB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4582, allocations: 12 kB / 1.049 GB, free: 7.414 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4584, allocations: 374.8 kB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.4589, allocations: 193.2 kB / 1.049 GB, free: 6.852 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.4597, allocations: 289.8 kB / 1.049 GB, free: 6.539 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.4604, allocations: 234 kB / 1.05 GB, free: 6.312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4604, allocations: 4 kB / 1.05 GB, free: 6.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001668/0.462, allocations: 0.5957 MB / 1.05 GB, free: 5.703 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4621, allocations: 8 kB / 1.05 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4621, allocations: 0 / 1.05 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.4621, allocations: 4.109 kB / 1.05 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.4632, allocations: 139.8 kB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.4632, allocations: 4 kB / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009448/0.4642, allocations: 77.98 kB / 1.05 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.4643, allocations: 31.98 kB / 1.051 GB, free: 5.445 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005511/0.4648, allocations: 247.8 kB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.465, allocations: 71.16 kB / 1.051 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4674, allocations: 0.754 MB / 1.052 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4674, allocations: 8 kB / 1.052 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4674, allocations: 0 / 1.052 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4674, allocations: 3.984 kB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.4691, allocations: 0.8896 MB / 1.052 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.4692, allocations: 0 / 1.052 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/0.4701, allocations: 119.8 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4701, allocations: 0 / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.4702, allocations: 19.98 kB / 1.053 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.4702, allocations: 4 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4703, allocations: 0 / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4719, allocations: 0.6341 MB / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.4725, allocations: 255.8 kB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.4727, allocations: 20 kB / 1.053 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.4735, allocations: 51.95 kB / 1.054 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4737, allocations: 52.52 kB / 1.054 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.4738, allocations: 31.92 kB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008135/0.4746, allocations: 415.1 kB / 1.054 GB, free: 1.781 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4746, allocations: 0 / 1.054 GB, free: 1.781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001031/0.4757, allocations: 223.5 kB / 1.054 GB, free: 1.562 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/0.4774, allocations: 0.5479 MB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.4792, allocations: 0.4968 MB / 1.055 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.4793, allocations: 0 / 1.055 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4805, allocations: 280 kB / 1.055 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.4838, allocations: 221.3 kB / 1.056 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6189/1.103, allocations: 1.566 MB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/1.104, allocations: 0.955 MB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001713/1.105, allocations: 237.1 kB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/1.106, allocations: 86.45 kB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.106, allocations: 0 / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03303/1.139, allocations: 10.22 MB / 1.068 GB, free: 153.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)