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.502/1.502, allocations: 252 MB / 267.3 MB, free: 10.81 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.00107/0.001071, allocations: 175.8 kB / 327 MB, free: 2.09 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.076/2.076, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009262/0.0009258, allocations: 86.36 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 12.42 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004702/0.2678, allocations: 3.636 MB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1914/0.4592, allocations: 146.3 MB / 1.047 GB, free: 8.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.4605, allocations: 15.94 kB / 1.047 GB, free: 8.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.4614, allocations: 131 kB / 1.047 GB, free: 8.789 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.002015/0.4634, allocations: 353.2 kB / 1.048 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.4656, allocations: 0.592 MB / 1.048 GB, free: 7.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.4673, allocations: 0.9848 MB / 1.049 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.4684, allocations: 485.9 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.4691, allocations: 250.7 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.4698, allocations: 282.4 kB / 1.05 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4699, allocations: 20 kB / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.4706, allocations: 219.8 kB / 1.051 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.4708, allocations: 151.3 kB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.4712, allocations: 363.4 kB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.4726, allocations: 1.094 MB / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4726, allocations: 0 / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.77e-06/0.4726, allocations: 0 / 1.052 GB, free: 4.023 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.4726, allocations: 3.938 kB / 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.001896/0.4745, allocations: 0.9825 MB / 1.053 GB, free: 2.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.4746, allocations: 12.03 kB / 1.053 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.4747, allocations: 106.6 kB / 1.053 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.475, allocations: 99.8 kB / 1.053 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.4761, allocations: 0.6479 MB / 1.054 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.4761, allocations: 45.31 kB / 1.054 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.4762, allocations: 63.98 kB / 1.054 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4773, allocations: 0.6931 MB / 1.055 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4774, allocations: 4 kB / 1.055 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.4774, allocations: 35.92 kB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4775, allocations: 16 kB / 1.055 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4787, allocations: 0.9103 MB / 1.056 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.616/1.095, allocations: 2.34 MB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.096, allocations: 0.5995 MB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/1.096, allocations: 221.1 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.594e-05/1.096, allocations: 31.48 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/1.097, allocations: 341.9 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.514e-06/1.097, allocations: 3.5 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001269/1.098, allocations: 0.7059 MB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/1.098, allocations: 240.9 kB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/1.099, allocations: 0.58 MB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/1.099, allocations: 39.27 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.099, allocations: 331.1 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.099, allocations: 199.2 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/1.099, allocations: 13.62 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.099, allocations: 380.9 kB / 1.061 GB, free: 154 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/1.1, allocations: 165.4 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/1.1, allocations: 289.3 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/1.101, allocations: 451.5 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.101, allocations: 1.859 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008583/1.102, allocations: 0.5493 MB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.102, allocations: 6.5 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.102, allocations: 2.844 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.102, allocations: 3.547 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/1.102, allocations: 119.9 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.102, allocations: 3.656 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/1.103, allocations: 77.44 kB / 1.063 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/1.103, allocations: 30 kB / 1.063 GB, free: 153.7 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.0003086/1.103, allocations: 234.3 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/1.103, allocations: 74.47 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/1.104, allocations: 0.7485 MB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.104, allocations: 8.625 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.105, allocations: 0.5156 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.105, allocations: 13.23 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/1.106, allocations: 0.8895 MB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.106, allocations: 0.7031 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/1.106, allocations: 122.5 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.106, allocations: 3.094 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/1.106, allocations: 23.36 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.106, allocations: 7.469 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.106, allocations: 0 / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.107, allocations: 0.6339 MB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/1.108, allocations: 253.5 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/1.108, allocations: 17.31 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/1.108, allocations: 61.22 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.109, allocations: 50.2 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/1.109, allocations: 25.05 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007106/1.109, allocations: 422.2 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.109, allocations: 3.938 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008117/1.11, allocations: 219.9 kB / 1.067 GB, free: 152.7 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.002839/1.113, allocations: 1.646 MB / 1.068 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.114, allocations: 477.9 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.114, allocations: 1.281 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/1.115, allocations: 281.9 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.116, allocations: 234.9 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.127, allocations: 5.394 MB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/1.128, allocations: 0.955 MB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001084/1.129, allocations: 236 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/1.129, allocations: 299 kB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.582e-06/1.129, allocations: 0 / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/1.168, allocations: 15.5 MB / 1.091 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.168, allocations: 299 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.001, allocations: 4 kB / 1.091 GB, free: 139.8 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)