Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.22/1.22, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008316/0.0008317, allocations: 175.7 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006464/0.0006465, allocations: 86.08 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 8.281 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1304, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.003129/0.1336, allocations: 3.717 MB / 0.8998 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1117/0.2453, allocations: 147.9 MB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.2456, allocations: 15.94 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.246, allocations: 131 kB / 1.044 GB, free: 11.77 MB / 0.698 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.0007566/0.2468, allocations: 337.2 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.2477, allocations: 0.6085 MB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006737/0.2484, allocations: 0.9848 MB / 1.046 GB, free: 9.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.2489, allocations: 482.1 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.2492, allocations: 250.8 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.2495, allocations: 278.4 kB / 1.047 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.2495, allocations: 20 kB / 1.047 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.2499, allocations: 223.8 kB / 1.047 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.25, allocations: 143.3 kB / 1.048 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.2502, allocations: 337.7 kB / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.251, allocations: 1.102 MB / 1.049 GB, free: 7.027 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.251, allocations: 3.938 kB / 1.049 GB, free: 7.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.251, allocations: 3.938 kB / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.251, allocations: 4 kB / 1.049 GB, free: 7.016 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.00123/0.2523, allocations: 0.9709 MB / 1.05 GB, free: 5.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.2523, allocations: 11.97 kB / 1.05 GB, free: 5.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.2524, allocations: 110.7 kB / 1.05 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.2526, allocations: 95.81 kB / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.2533, allocations: 0.6557 MB / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2534, allocations: 45.31 kB / 1.051 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.2534, allocations: 60 kB / 1.051 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.2543, allocations: 0.6931 MB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2543, allocations: 4 kB / 1.052 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.2544, allocations: 28 kB / 1.052 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2544, allocations: 16 kB / 1.052 GB, free: 4.176 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2554, allocations: 0.9142 MB / 1.052 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.2578, allocations: 2.353 MB / 1.055 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.2585, allocations: 0.597 MB / 1.055 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2602/0.5188, allocations: 223.9 kB / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.736e-05/0.5189, allocations: 24.3 kB / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005617/0.5195, allocations: 344.9 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/0.5195, allocations: 0 / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001109/0.5206, allocations: 0.7094 MB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5207, allocations: 239.7 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.5212, allocations: 0.5787 MB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.5213, allocations: 36.8 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5215, allocations: 332.9 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.5216, allocations: 202.4 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.5216, allocations: 50.47 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.5217, allocations: 381.5 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5219, allocations: 167.9 kB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.5222, allocations: 291 kB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.5227, allocations: 442.2 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5227, allocations: 0 / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000675/0.5234, allocations: 0.5612 MB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5234, allocations: 5.75 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.5234, allocations: 2.906 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5235, allocations: 2.781 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.5239, allocations: 117.2 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5239, allocations: 8.094 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.5242, allocations: 72.3 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.5243, allocations: 27.31 kB / 1.06 GB, free: 159.2 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 (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 (68): * Single equations (assignments): 68 * 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.0002164/0.5245, allocations: 246.9 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.5246, allocations: 68.31 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.5257, allocations: 0.7547 MB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5257, allocations: 8.906 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5257, allocations: 0 / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5257, allocations: 4.031 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.5265, allocations: 0.8926 MB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5265, allocations: 2.719 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.5268, allocations: 121.9 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5269, allocations: 5.344 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.5269, allocations: 15.75 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5269, allocations: 3.484 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5269, allocations: 3.938 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.5277, allocations: 0.6376 MB / 1.063 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.5279, allocations: 238.6 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.528, allocations: 16.36 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.5284, allocations: 59.47 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.5285, allocations: 50.98 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.5286, allocations: 25.84 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004403/0.529, allocations: 422.1 kB / 1.063 GB, free: 158.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.529, allocations: 1.188 kB / 1.063 GB, free: 158.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005277/0.5295, allocations: 220 kB / 1.064 GB, free: 158.2 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 (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.001908/0.5315, allocations: 1.637 MB / 1.065 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006962/0.5322, allocations: 483.7 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5322, allocations: 0.6562 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.5326, allocations: 274.8 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.5335, allocations: 237.3 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.5403, allocations: 5.386 MB / 1.071 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5407, allocations: 0.9529 MB / 1.072 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006123/0.5413, allocations: 247.1 kB / 1.073 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.5416, allocations: 293.5 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.5416, allocations: 4 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.8233, allocations: 15.53 MB / 1.088 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.8235, allocations: 311.6 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.256, allocations: 0 / 1.088 GB, free: 145.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_fmu --startTime=1.56384e+07 --stopTime=1.10246e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1)