Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 201 kB / 16.14 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 251.7 MB / 0.5088 GB, free: 3.285 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.619/0.6206, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006503/0.6271, allocations: 4.048 MB / 0.7278 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1892/0.8163, allocations: 147.9 MB / 0.8721 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.8179, allocations: 15.94 kB / 0.8722 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.8189, allocations: 131 kB / 0.8723 GB, free: 4.5 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.002161/0.8211, allocations: 341.7 kB / 0.8726 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.8235, allocations: 0.5868 MB / 0.8732 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.8252, allocations: 0.9964 MB / 0.8742 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.8261, allocations: 498.1 kB / 0.8746 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.8266, allocations: 298.7 kB / 0.8749 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.8271, allocations: 334.3 kB / 0.8752 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.8272, allocations: 40 kB / 0.8753 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.8278, allocations: 243.8 kB / 0.8755 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.828, allocations: 179.3 kB / 0.8757 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.8285, allocations: 385.7 kB / 0.876 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.8298, allocations: 1.118 MB / 0.8771 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8298, allocations: 0 / 0.8771 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8298, allocations: 7.938 kB / 0.8771 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.8298, allocations: 4 kB / 0.8771 GB, free: 15.5 MB / 0.7012 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.001834/0.8317, allocations: 1.138 MB / 0.8783 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8317, allocations: 8.031 kB / 0.8783 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.832, allocations: 99.81 kB / 0.8784 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.8329, allocations: 0.6596 MB / 0.879 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.8329, allocations: 45.31 kB / 0.8791 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.833, allocations: 60 kB / 0.8791 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.834, allocations: 0.6892 MB / 0.8798 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8341, allocations: 3.938 kB / 0.8798 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.8341, allocations: 28 kB / 0.8798 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.8341, allocations: 16 kB / 0.8798 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.8354, allocations: 0.9181 MB / 0.8807 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.8384, allocations: 2.316 MB / 0.883 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009513/0.8393, allocations: 0.6009 MB / 0.8836 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.8397, allocations: 227.2 kB / 0.8838 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.111e-05/0.8398, allocations: 28.59 kB / 0.8838 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/0.8404, allocations: 350.4 kB / 0.8841 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.8404, allocations: 0 / 0.8841 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.001218/0.8416, allocations: 0.7058 MB / 0.8848 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.8418, allocations: 243.9 kB / 0.8851 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.8425, allocations: 0.5782 MB / 0.8856 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.8426, allocations: 41.69 kB / 0.8857 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.8428, allocations: 320.6 kB / 0.886 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.843, allocations: 209.2 kB / 0.8862 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.8432, allocations: 138.2 kB / 0.8863 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8434, allocations: 370.8 kB / 0.8867 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.8437, allocations: 193.2 kB / 0.8869 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.8441, allocations: 285.9 kB / 0.8871 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.8448, allocations: 488.1 kB / 0.8876 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8448, allocations: 0 / 0.8876 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009592/0.8458, allocations: 0.5998 MB / 0.8882 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8458, allocations: 4 kB / 0.8882 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8458, allocations: 4 kB / 0.8882 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8459, allocations: 4 kB / 0.8882 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.8464, allocations: 127.8 kB / 0.8883 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.8464, allocations: 4 kB / 0.8883 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.8469, allocations: 75.47 kB / 0.8884 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.8469, allocations: 31.97 kB / 0.8884 GB, free: 3.543 MB / 0.7012 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.0004242/0.8474, allocations: 249.7 kB / 0.8887 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.8475, allocations: 67.16 kB / 0.8887 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.8489, allocations: 0.7503 MB / 0.8894 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.849, allocations: 8 kB / 0.8895 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.849, allocations: 0 / 0.8895 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.849, allocations: 3.984 kB / 0.8895 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8501, allocations: 0.8856 MB / 0.8903 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8501, allocations: 4 kB / 0.8903 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.8505, allocations: 119.8 kB / 0.8904 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.8505, allocations: 7.969 kB / 0.8905 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.8506, allocations: 19.98 kB / 0.8905 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.8506, allocations: 4 kB / 0.8905 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8506, allocations: 0 / 0.8905 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.8516, allocations: 0.6456 MB / 0.8911 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.8519, allocations: 236 kB / 0.8913 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.852, allocations: 12 kB / 0.8913 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.8524, allocations: 53.67 kB / 0.8914 GB, free: 384 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8526, allocations: 52.52 kB / 0.8914 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.8526, allocations: 20 kB / 0.8915 GB, free: 312 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005009/0.8531, allocations: 427 kB / 0.8919 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8531, allocations: 0 / 0.8919 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006847/0.8538, allocations: 223.5 kB / 0.8921 GB, free: 15.67 MB / 0.7169 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.001313/0.8551, allocations: 0.5499 MB / 0.8926 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008784/0.856, allocations: 0.4973 MB / 0.8931 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8561, allocations: 4 kB / 0.8931 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.8565, allocations: 283.6 kB / 0.8934 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.8575, allocations: 229.5 kB / 0.8936 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.8599, allocations: 1.617 MB / 0.8952 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.8605, allocations: 0.9484 MB / 0.8961 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.8613, allocations: 237.5 kB / 0.8963 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.8615, allocations: 87.39 kB / 0.8964 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8615, allocations: 0 / 0.8964 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of Templates: time 0.02031/0.8818, allocations: 10.58 MB / 0.9067 GB, free: 0.918 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)