Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.432/1.432, allocations: 288.4 MB / 303.6 MB, free: 7.996 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.0009353/0.0009353, allocations: 182.8 kB / 372.3 MB, free: 10.11 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.105/1.105, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006378/0.0006378, allocations: 82.38 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 19.36 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.002945/0.1431, allocations: 3.456 MB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4043/0.5474, allocations: 136.4 MB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.5477, allocations: 14.81 kB / 1.117 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.548, allocations: 121.3 kB / 1.117 GB, free: 2.312 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.0007412/0.5488, allocations: 331.1 kB / 1.117 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.5497, allocations: 0.5278 MB / 1.118 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000631/0.5504, allocations: 0.9414 MB / 1.119 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.5508, allocations: 476.1 kB / 1.119 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.5511, allocations: 242.8 kB / 1.119 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.5514, allocations: 270.3 kB / 1.12 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.5514, allocations: 18.58 kB / 1.12 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.5517, allocations: 205.7 kB / 1.12 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5519, allocations: 148.3 kB / 1.12 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.5521, allocations: 341.9 kB / 1.12 GB, free: 17.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.5527, allocations: 0.8711 MB / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5528, allocations: 0 / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5528, allocations: 0 / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.5528, allocations: 0 / 1.121 GB, free: 17.52 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.001169/0.554, allocations: 0.9971 MB / 1.122 GB, free: 16.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.554, allocations: 9.688 kB / 1.122 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/0.5541, allocations: 108.3 kB / 1.122 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.5543, allocations: 98.59 kB / 1.122 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.5549, allocations: 0.6554 MB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.555, allocations: 42.81 kB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.555, allocations: 59.56 kB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.5558, allocations: 0.6924 MB / 1.124 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5558, allocations: 3.984 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.5559, allocations: 30.47 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5559, allocations: 13.16 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.5569, allocations: 0.9125 MB / 1.125 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.5591, allocations: 2.343 MB / 1.127 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.5599, allocations: 0.5923 MB / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.5601, allocations: 222.2 kB / 1.128 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.5602, allocations: 25.62 kB / 1.128 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.5606, allocations: 347.9 kB / 1.128 GB, free: 15.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 1.593e-06/0.5606, allocations: 0 / 1.128 GB, free: 15.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.000978/0.5616, allocations: 0.7009 MB / 1.129 GB, free: 14.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.5617, allocations: 240.9 kB / 1.129 GB, free: 14.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.5622, allocations: 0.576 MB / 1.13 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.5623, allocations: 44.53 kB / 1.13 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.5625, allocations: 326.5 kB / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.5626, allocations: 203.9 kB / 1.13 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.5626, allocations: 10.75 kB / 1.13 GB, free: 14.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5627, allocations: 375 kB / 1.13 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.563, allocations: 165.7 kB / 1.131 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.5633, allocations: 286 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.5638, allocations: 448.6 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5639, allocations: 1.156 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00071/0.5646, allocations: 0.544 MB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5646, allocations: 5.344 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5646, allocations: 5.438 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5646, allocations: 7.906 kB / 1.132 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.565, allocations: 116.2 kB / 1.132 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5651, allocations: 6.328 kB / 1.132 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.5654, allocations: 84.48 kB / 1.132 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.5655, allocations: 23.84 kB / 1.132 GB, free: 13.57 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.0002403/0.5657, allocations: 240.1 kB / 1.132 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.475e-05/0.5658, allocations: 69.62 kB / 1.132 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.567, allocations: 0.7472 MB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.567, allocations: 7.094 kB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.567, allocations: 1.125 kB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.567, allocations: 9.938 kB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.5678, allocations: 0.8848 MB / 1.134 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5678, allocations: 1.531 kB / 1.134 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.5682, allocations: 118.5 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5682, allocations: 3.469 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.5682, allocations: 19.75 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5682, allocations: 2.375 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5682, allocations: 1.031 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.569, allocations: 0.6423 MB / 1.135 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.5693, allocations: 257.3 kB / 1.135 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-05/0.5693, allocations: 14.34 kB / 1.135 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.5697, allocations: 60.64 kB / 1.135 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.5698, allocations: 53.22 kB / 1.135 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.5699, allocations: 22 kB / 1.135 GB, free: 12.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003838/0.5703, allocations: 421.9 kB / 1.136 GB, free: 12.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5703, allocations: 1.406 kB / 1.136 GB, free: 12.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004954/0.5708, allocations: 216.4 kB / 1.136 GB, free: 12.56 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.001878/0.5727, allocations: 1.638 MB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.5733, allocations: 475.8 kB / 1.138 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5733, allocations: 0 / 1.138 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.5736, allocations: 277.6 kB / 1.138 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.5745, allocations: 232.5 kB / 1.138 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.5799, allocations: 3.889 MB / 1.142 GB, free: 9.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.5804, allocations: 0.952 MB / 1.143 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006069/0.581, allocations: 243 kB / 1.143 GB, free: 8.957 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.5813, allocations: 298.6 kB / 1.144 GB, free: 8.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5813, allocations: 0 / 1.144 GB, free: 8.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4438/1.025, allocations: 16.74 MB / 1.16 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/1.025, allocations: 276.8 kB / 1.16 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/3.223, allocations: 0 / 1.16 GB, free: 0.5391 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)