Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.763/1.763, 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.001059/0.001059, allocations: 184.3 kB / 326.6 MB, free: 2.25 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.25/2.25, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008097/0.0008093, allocations: 92.34 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003452, allocations: 6.344 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.004365/0.2865, allocations: 3.455 MB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.4574, allocations: 136.4 MB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.4586, allocations: 19.88 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.4595, allocations: 127 kB / 1.037 GB, free: 3.426 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.001965/0.4615, allocations: 329.1 kB / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.4636, allocations: 0.5283 MB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.4652, allocations: 0.9064 MB / 1.039 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.466, allocations: 341.5 kB / 1.039 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.4666, allocations: 242.9 kB / 1.039 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.4671, allocations: 266.6 kB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.4671, allocations: 16 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.4677, allocations: 207.8 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4679, allocations: 151.4 kB / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.4681, allocations: 157.3 kB / 1.04 GB, free: 312 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.4692, allocations: 0.8653 MB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4692, allocations: 0 / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.018e-06/0.4692, allocations: 0 / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4692, allocations: 3.938 kB / 1.041 GB, free: 15.43 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.001776/0.471, allocations: 0.9863 MB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.471, allocations: 8.031 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.4712, allocations: 114.5 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.4715, allocations: 98.86 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.4724, allocations: 0.6285 MB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.4725, allocations: 49.31 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.4725, allocations: 60 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.4737, allocations: 0.6891 MB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4737, allocations: 3.984 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.4738, allocations: 28 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.4738, allocations: 19.95 kB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.4751, allocations: 0.9103 MB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.4786, allocations: 2.349 MB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.4795, allocations: 0.5775 MB / 1.047 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.4799, allocations: 223.3 kB / 1.047 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.4799, allocations: 36.53 kB / 1.048 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.4806, allocations: 342.4 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.356e-06/0.4806, allocations: 0 / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001256/0.4819, allocations: 0.7019 MB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.482, allocations: 239.9 kB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.4827, allocations: 0.5784 MB / 1.049 GB, free: 6.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.4828, allocations: 37.7 kB / 1.049 GB, free: 6.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.4831, allocations: 328.5 kB / 1.05 GB, free: 6.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4833, allocations: 205.1 kB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.4833, allocations: 8 kB / 1.05 GB, free: 5.891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4835, allocations: 374.8 kB / 1.05 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.4838, allocations: 161 kB / 1.05 GB, free: 5.355 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.4842, allocations: 284.5 kB / 1.051 GB, free: 5.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.4845, allocations: 226 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4845, allocations: 0 / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008492/0.4854, allocations: 0.545 MB / 1.051 GB, free: 4.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4854, allocations: 4 kB / 1.051 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4854, allocations: 8.062 kB / 1.051 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4855, allocations: 4 kB / 1.051 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.4859, allocations: 115.8 kB / 1.052 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.486, allocations: 4 kB / 1.052 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.4864, allocations: 98.42 kB / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.4865, allocations: 23.98 kB / 1.052 GB, free: 4.02 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.0003337/0.4868, allocations: 241.7 kB / 1.052 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.487, allocations: 71.11 kB / 1.052 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.4883, allocations: 0.7464 MB / 1.053 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4883, allocations: 11.98 kB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4883, allocations: 0 / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4884, allocations: 8 kB / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4894, allocations: 0.8934 MB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4894, allocations: 0 / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.4898, allocations: 115.9 kB / 1.054 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4899, allocations: 4 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.4899, allocations: 19.98 kB / 1.054 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4899, allocations: 7.938 kB / 1.054 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4899, allocations: 0 / 1.054 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.4909, allocations: 0.634 MB / 1.054 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.4912, allocations: 259.8 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.4913, allocations: 12 kB / 1.055 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.4917, allocations: 60.61 kB / 1.055 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4918, allocations: 48.58 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.4919, allocations: 23.98 kB / 1.055 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005268/0.4924, allocations: 419.1 kB / 1.055 GB, free: 364 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4924, allocations: 0 / 1.055 GB, free: 364 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000669/0.4931, allocations: 219.5 kB / 1.055 GB, free: 144 kB / 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.581/1.074, allocations: 1.621 MB / 1.057 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008884/1.075, allocations: 468.4 kB / 1.057 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.075, allocations: 5.562 kB / 1.057 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/1.075, allocations: 280.5 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.077, allocations: 224.7 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/1.083, allocations: 3.894 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/1.084, allocations: 0.9458 MB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008312/1.084, allocations: 244.1 kB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/1.085, allocations: 295.7 kB / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.094e-06/1.085, allocations: 0 / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/1.139, allocations: 16.58 MB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/1.139, allocations: 284.2 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.919, allocations: 0 / 1.08 GB, free: 147 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)