Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.468/1.468, allocations: 252 MB / 267 MB, free: 10.98 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.001122/0.001122, allocations: 171.3 kB / 326.6 MB, free: 2.246 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.233/2.233, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.0007684/0.0007681, allocations: 84.86 kB / 0.6823 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.000368, allocations: 7.094 kB / 0.7964 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 106.3 MB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004807/0.2928, allocations: 3.459 MB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.4685, allocations: 136.4 MB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006792/0.4692, allocations: 15.88 kB / 1.037 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.4697, allocations: 123 kB / 1.037 GB, free: 3.945 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.001125/0.4709, allocations: 331.7 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.4725, allocations: 0.5235 MB / 1.038 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000945/0.4734, allocations: 0.9103 MB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.474, allocations: 341.5 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.4743, allocations: 242.9 kB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.4748, allocations: 271.9 kB / 1.04 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.4748, allocations: 20 kB / 1.04 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.4754, allocations: 195.8 kB / 1.04 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.4756, allocations: 155.2 kB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.4757, allocations: 153.3 kB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009674/0.4767, allocations: 0.8653 MB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4767, allocations: 0 / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4767, allocations: 3.938 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.4768, allocations: 4 kB / 1.041 GB, free: 15.95 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.001936/0.4787, allocations: 0.9824 MB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4788, allocations: 8.031 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.4789, allocations: 118.4 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.4793, allocations: 102.9 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/0.4803, allocations: 0.6285 MB / 1.043 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.4803, allocations: 45.31 kB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.4804, allocations: 60 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4817, allocations: 0.6853 MB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4817, allocations: 4 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.4818, allocations: 24 kB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.4818, allocations: 23.95 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.4832, allocations: 0.9181 MB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.4867, allocations: 2.333 MB / 1.047 GB, free: 9.789 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.4877, allocations: 0.5931 MB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.4881, allocations: 219.2 kB / 1.047 GB, free: 8.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.4882, allocations: 36.53 kB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/0.4888, allocations: 338.4 kB / 1.048 GB, free: 8.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 4.879e-06/0.4889, allocations: 11.98 kB / 1.048 GB, free: 8.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.00136/0.4902, allocations: 0.698 MB / 1.049 GB, free: 7.859 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001996/0.4904, allocations: 243.9 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.4913, allocations: 0.5705 MB / 1.049 GB, free: 6.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.4914, allocations: 37.7 kB / 1.049 GB, free: 6.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.4917, allocations: 332.5 kB / 1.05 GB, free: 6.613 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.4919, allocations: 197.1 kB / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4919, allocations: 8 kB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4921, allocations: 378.9 kB / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.4924, allocations: 165 kB / 1.05 GB, free: 5.867 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.4928, allocations: 284.3 kB / 1.051 GB, free: 5.559 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.4931, allocations: 214.1 kB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.4932, allocations: 0 / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009005/0.4941, allocations: 0.5528 MB / 1.051 GB, free: 4.785 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4941, allocations: 11.94 kB / 1.051 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4941, allocations: 4.266 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4942, allocations: 7.938 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.4947, allocations: 115.9 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4947, allocations: 3.938 kB / 1.052 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.4952, allocations: 79.34 kB / 1.052 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.4952, allocations: 23.98 kB / 1.052 GB, free: 4.543 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.000366/0.4956, allocations: 241.7 kB / 1.052 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4957, allocations: 71.11 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.4971, allocations: 0.7581 MB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4971, allocations: 4 kB / 1.053 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4971, allocations: 4 kB / 1.053 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4971, allocations: 3.984 kB / 1.053 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4982, allocations: 0.8818 MB / 1.054 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4982, allocations: 0 / 1.054 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.4987, allocations: 119.8 kB / 1.054 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.4987, allocations: 4 kB / 1.054 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.4987, allocations: 24.02 kB / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4987, allocations: 0 / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4988, allocations: 4 kB / 1.054 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.4997, allocations: 0.6378 MB / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.5, allocations: 255.8 kB / 1.055 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.5001, allocations: 16 kB / 1.055 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.5006, allocations: 56.61 kB / 1.055 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5007, allocations: 52.58 kB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.5007, allocations: 23.98 kB / 1.055 GB, free: 1.281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005172/0.5013, allocations: 415.1 kB / 1.055 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5013, allocations: 4 kB / 1.055 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00065/0.5019, allocations: 219.5 kB / 1.055 GB, free: 0.6641 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.6174/1.119, allocations: 1.623 MB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.12, allocations: 474.4 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.12, allocations: 1.719 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.121, allocations: 278.8 kB / 1.058 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.122, allocations: 232.6 kB / 1.058 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/1.129, allocations: 3.894 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/1.129, allocations: 0.9459 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008069/1.13, allocations: 242.5 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/1.13, allocations: 295 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.13, allocations: 4 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/1.177, allocations: 16.6 MB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.177, allocations: 293.3 kB / 1.08 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/3.97, allocations: 0.5625 kB / 1.08 GB, free: 147.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)