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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.3 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.5776 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008671, allocations: 96.75 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003794, allocations: 6.5 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004467/0.2921, allocations: 3.459 MB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.4637, allocations: 136.4 MB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.4647, allocations: 19.88 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.4653, allocations: 119.1 kB / 1.037 GB, free: 3.41 MB / 0.6823 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.001557/0.4669, allocations: 337.5 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.4687, allocations: 0.53 MB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.4698, allocations: 0.9064 MB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.4704, allocations: 349.5 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.4708, allocations: 238.9 kB / 1.039 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.4713, allocations: 266.6 kB / 1.04 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.4714, allocations: 20 kB / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005771/0.4719, allocations: 199.8 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.4721, allocations: 147.3 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.4723, allocations: 161.2 kB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.4732, allocations: 0.8692 MB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4733, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4733, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4733, allocations: 0 / 1.041 GB, free: 15.41 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001827/0.4751, allocations: 0.9901 MB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4752, allocations: 12.03 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.4753, allocations: 106.5 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.4756, allocations: 98.86 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.4766, allocations: 0.6285 MB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.4767, allocations: 45.31 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4768, allocations: 60 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.478, allocations: 0.6892 MB / 1.043 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.478, allocations: 7.938 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.4781, allocations: 28 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4781, allocations: 23.94 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.4794, allocations: 0.9064 MB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/0.4828, allocations: 2.346 MB / 1.047 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/0.4837, allocations: 0.5853 MB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.484, allocations: 219.3 kB / 1.047 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.146e-05/0.4841, allocations: 32.55 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.4848, allocations: 346.4 kB / 1.048 GB, free: 8.027 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 8.095e-06/0.4848, allocations: 3.984 kB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001353/0.4862, allocations: 0.6941 MB / 1.049 GB, free: 7.324 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.4864, allocations: 243.9 kB / 1.049 GB, free: 7.031 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.4873, allocations: 0.5705 MB / 1.049 GB, free: 6.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/0.4873, allocations: 41.64 kB / 1.049 GB, free: 6.402 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.4877, allocations: 332.7 kB / 1.05 GB, free: 6.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.488, allocations: 205.1 kB / 1.05 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.488, allocations: 19.94 kB / 1.05 GB, free: 5.852 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002468/0.4883, allocations: 370.8 kB / 1.05 GB, free: 5.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4886, allocations: 165 kB / 1.05 GB, free: 5.316 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.489, allocations: 284.4 kB / 1.051 GB, free: 5.008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.4895, allocations: 214.2 kB / 1.051 GB, free: 4.797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4895, allocations: 7.938 kB / 1.051 GB, free: 4.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009566/0.4904, allocations: 0.5528 MB / 1.051 GB, free: 4.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4905, allocations: 4 kB / 1.051 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4905, allocations: 0 / 1.051 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.4905, allocations: 4 kB / 1.051 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.491, allocations: 119.8 kB / 1.052 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.491, allocations: 4 kB / 1.052 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.4915, allocations: 83.48 kB / 1.052 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.4916, allocations: 28 kB / 1.052 GB, free: 3.988 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0003759/0.4919, allocations: 234.3 kB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4921, allocations: 75.11 kB / 1.052 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.4935, allocations: 0.7503 MB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4936, allocations: 8 kB / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4936, allocations: 0 / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4936, allocations: 3.984 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.4948, allocations: 0.8857 MB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4949, allocations: 8.031 kB / 1.054 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.4953, allocations: 111.9 kB / 1.054 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4953, allocations: 4 kB / 1.054 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.4954, allocations: 23.98 kB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.4954, allocations: 4 kB / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4954, allocations: 3.938 kB / 1.054 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.4964, allocations: 0.6262 MB / 1.054 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.4968, allocations: 259.8 kB / 1.055 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.4969, allocations: 16 kB / 1.055 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.4974, allocations: 58.14 kB / 1.055 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4975, allocations: 52.58 kB / 1.055 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.4976, allocations: 31.98 kB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005873/0.4982, allocations: 411.1 kB / 1.055 GB, free: 344 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4982, allocations: 4 kB / 1.055 GB, free: 340 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007727/0.499, allocations: 227.4 kB / 1.055 GB, free: 112 kB / 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.6205/1.12, allocations: 1.617 MB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009805/1.121, allocations: 476 kB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.121, allocations: 5.156 kB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/1.121, allocations: 276.1 kB / 1.058 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.122, allocations: 230.1 kB / 1.058 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/1.129, allocations: 3.887 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/1.13, allocations: 0.9487 MB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008273/1.131, allocations: 240.6 kB / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/1.131, allocations: 293.4 kB / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/1.131, allocations: 0 / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/1.181, allocations: 16.59 MB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.181, allocations: 276.8 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.855, allocations: 0 / 1.08 GB, free: 147 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)