Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 188.4 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009569, allocations: 99.34 kB / 0.748 GB, free: 61.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2741, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006833/0.281, allocations: 4.044 MB / 0.9862 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6506/0.9317, allocations: 147.8 MB / 1.131 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.9328, allocations: 13.66 kB / 1.131 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.9336, allocations: 130 kB / 1.131 GB, free: 7.23 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.9354, allocations: 333.2 kB / 1.131 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.9373, allocations: 0.6055 MB / 1.132 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.9386, allocations: 0.9941 MB / 1.133 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.9394, allocations: 0.4892 MB / 1.133 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.94, allocations: 301.8 kB / 1.133 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.9406, allocations: 333 kB / 1.134 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.9408, allocations: 39.06 kB / 1.134 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.9415, allocations: 240.7 kB / 1.134 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.9417, allocations: 183.4 kB / 1.134 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.9421, allocations: 376.5 kB / 1.134 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.9433, allocations: 1.128 MB / 1.136 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9433, allocations: 3.188 kB / 1.136 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.9433, allocations: 0 / 1.136 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.804e-05/0.9434, allocations: 0 / 1.136 GB, free: 4.836 MB / 0.7448 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.002241/0.9456, allocations: 1.153 MB / 1.137 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.9457, allocations: 13.5 kB / 1.137 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.946, allocations: 95.81 kB / 1.137 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.947, allocations: 0.6496 MB / 1.137 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.947, allocations: 47.53 kB / 1.137 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.9471, allocations: 58.44 kB / 1.138 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.9481, allocations: 0.6978 MB / 1.138 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.9482, allocations: 3.938 kB / 1.138 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.9482, allocations: 31 kB / 1.138 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.9482, allocations: 17.19 kB / 1.138 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.9494, allocations: 0.9167 MB / 1.139 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.9524, allocations: 2.314 MB / 1.141 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.9533, allocations: 0.5955 MB / 1.142 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.9535, allocations: 225.9 kB / 1.142 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.9536, allocations: 32.23 kB / 1.142 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/0.9541, allocations: 354.6 kB / 1.143 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.736e-06/0.9541, allocations: 0 / 1.143 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.001228/0.9554, allocations: 0.7066 MB / 1.143 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.9555, allocations: 238.2 kB / 1.143 GB, free: 276 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.9561, allocations: 0.5765 MB / 1.144 GB, free: 4 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.9561, allocations: 37.02 kB / 1.144 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.9564, allocations: 330.3 kB / 1.144 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.9565, allocations: 203.1 kB / 1.145 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9567, allocations: 142.1 kB / 1.145 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9569, allocations: 371.4 kB / 1.145 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.9572, allocations: 189.7 kB / 1.145 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.9576, allocations: 294.8 kB / 1.146 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.9583, allocations: 475.7 kB / 1.146 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9583, allocations: 0.6875 kB / 1.146 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000928/0.9592, allocations: 0.6124 MB / 1.147 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9592, allocations: 4.031 kB / 1.147 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9592, allocations: 3.219 kB / 1.147 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.9593, allocations: 3.156 kB / 1.147 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.9597, allocations: 131.5 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.9597, allocations: 3.859 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.9602, allocations: 67.22 kB / 1.147 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.9603, allocations: 35.05 kB / 1.147 GB, free: 14.37 MB / 0.7605 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003017/0.9606, allocations: 246.3 kB / 1.147 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.9607, allocations: 71.89 kB / 1.147 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.9622, allocations: 0.7478 MB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9622, allocations: 13.19 kB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9622, allocations: 0 / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.9622, allocations: 3.516 kB / 1.148 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.9634, allocations: 0.8864 MB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9634, allocations: 0.5625 kB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.9638, allocations: 122.4 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.9638, allocations: 4.094 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.9639, allocations: 17.86 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.9639, allocations: 3.844 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9639, allocations: 0 / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.9655, allocations: 1.56 MB / 1.15 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.9659, allocations: 244.2 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.966, allocations: 15.16 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.9664, allocations: 51.12 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.9665, allocations: 46.66 kB / 1.151 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.9666, allocations: 23.94 kB / 1.151 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004846/0.967, allocations: 421.5 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9671, allocations: 0 / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007539/0.9678, allocations: 231.7 kB / 1.151 GB, free: 11.75 MB / 0.7605 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 (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.001218/0.969, allocations: 0.5541 MB / 1.152 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.9698, allocations: 0.5065 MB / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9698, allocations: 0 / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.9702, allocations: 279.6 kB / 1.153 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.9712, allocations: 232.2 kB / 1.153 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.9736, allocations: 1.993 MB / 1.155 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.9741, allocations: 0.9654 MB / 1.156 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000672/0.9748, allocations: 241 kB / 1.156 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.975, allocations: 89.42 kB / 1.156 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of SimCode: time 4.7e-07/0.975, allocations: 3.938 kB / 1.156 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of Templates: time 0.01818/0.9932, allocations: 10.82 MB / 1.167 GB, free: 8.172 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)