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.549/1.549, allocations: 252 MB / 267.3 MB, free: 10.84 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.001047/0.001047, allocations: 166.4 kB / 327 MB, free: 2.129 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.279/2.279, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001127/0.001126, allocations: 98.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 13.72 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004988/0.3001, allocations: 3.647 MB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1979/0.4981, allocations: 146.3 MB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.4994, allocations: 11.94 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.5003, allocations: 131 kB / 1.047 GB, free: 8.785 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.002266/0.5026, allocations: 340 kB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.5052, allocations: 0.598 MB / 1.048 GB, free: 7.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5074, allocations: 0.9887 MB / 1.049 GB, free: 6.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.5088, allocations: 478.4 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.5097, allocations: 250.8 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.5105, allocations: 286.4 kB / 1.05 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.5108, allocations: 20 kB / 1.05 GB, free: 5.844 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009692/0.5117, allocations: 219.8 kB / 1.051 GB, free: 5.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.5121, allocations: 147.3 kB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007131/0.5129, allocations: 367.4 kB / 1.051 GB, free: 5.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.5151, allocations: 1.09 MB / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5151, allocations: 0 / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.055e-06/0.5152, allocations: 4 kB / 1.052 GB, free: 4.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.367e-05/0.5152, allocations: 0 / 1.052 GB, free: 4.02 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.002838/0.5181, allocations: 0.9825 MB / 1.053 GB, free: 2.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.5181, allocations: 12.03 kB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003573/0.5185, allocations: 114.6 kB / 1.053 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.5191, allocations: 95.81 kB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5207, allocations: 0.6518 MB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.5207, allocations: 45.31 kB / 1.054 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5209, allocations: 64 kB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5224, allocations: 0.6931 MB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5225, allocations: 0 / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.5226, allocations: 28 kB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.5226, allocations: 16 kB / 1.055 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.5241, allocations: 0.922 MB / 1.056 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.629/1.153, allocations: 2.343 MB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008928/1.154, allocations: 0.5968 MB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/1.154, allocations: 222.1 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-05/1.155, allocations: 31.25 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006229/1.155, allocations: 344.2 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 5.45e-06/1.155, allocations: 2.781 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001352/1.157, allocations: 0.7125 MB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.157, allocations: 237.7 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/1.157, allocations: 0.5795 MB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/1.158, allocations: 35.27 kB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/1.158, allocations: 333.5 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.158, allocations: 202.1 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/1.158, allocations: 8.375 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.158, allocations: 381.8 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.159, allocations: 167.8 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/1.159, allocations: 285.3 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/1.16, allocations: 456.9 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.16, allocations: 0 / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000977/1.161, allocations: 0.5502 MB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/1.161, allocations: 5.531 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.161, allocations: 3.188 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.161, allocations: 3.125 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/1.161, allocations: 120.3 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.161, allocations: 3.406 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.162, allocations: 84.89 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/1.162, allocations: 26.27 kB / 1.063 GB, free: 153.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004247/1.162, allocations: 238 kB / 1.063 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.162, allocations: 74.12 kB / 1.063 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/1.164, allocations: 0.7481 MB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.164, allocations: 9 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.164, allocations: 0 / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/1.164, allocations: 3.469 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.166, allocations: 0.8954 MB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.166, allocations: 3.906 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/1.166, allocations: 116.8 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/1.166, allocations: 3.875 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/1.166, allocations: 20.61 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.166, allocations: 7.547 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.166, allocations: 0 / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/1.167, allocations: 0.6377 MB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/1.168, allocations: 248.5 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/1.168, allocations: 17.62 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/1.168, allocations: 59.84 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.168, allocations: 51.47 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/1.169, allocations: 28.89 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007174/1.169, allocations: 421.6 kB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 0 / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008952/1.17, allocations: 217.5 kB / 1.067 GB, free: 152.9 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.003021/1.173, allocations: 1.647 MB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.174, allocations: 480.2 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.174, allocations: 0.8125 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/1.175, allocations: 283.6 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.176, allocations: 224 kB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.188, allocations: 5.396 MB / 1.075 GB, free: 149.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008327/1.188, allocations: 0.9549 MB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001125/1.19, allocations: 240.9 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/1.19, allocations: 296.2 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of SimCode: time 2.224e-06/1.19, allocations: 4 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04905/1.239, allocations: 15.53 MB / 1.091 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.24, allocations: 302.4 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/4.166, allocations: 2.5 kB / 1.092 GB, free: 139.8 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)