Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.436/1.436, 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.001055/0.001054, allocations: 182.3 kB / 326.6 MB, free: 2.227 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.096/2.096, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0008833/0.0008836, allocations: 92.22 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003644, allocations: 8.219 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004372/0.2992, allocations: 3.459 MB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.4767, allocations: 136.4 MB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.4776, allocations: 19.88 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.4781, allocations: 119.1 kB / 1.037 GB, free: 3.797 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.001192/0.4793, allocations: 328.9 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.4811, allocations: 0.5307 MB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.4822, allocations: 0.9064 MB / 1.039 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.4829, allocations: 351 kB / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.4833, allocations: 242.9 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.4837, allocations: 266.6 kB / 1.04 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.4838, allocations: 20 kB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.4844, allocations: 203.7 kB / 1.04 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.4846, allocations: 143.4 kB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.4848, allocations: 161.2 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.4859, allocations: 0.8653 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4859, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4859, allocations: 4 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4859, allocations: 0 / 1.041 GB, free: 15.8 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.00204/0.488, allocations: 0.9823 MB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.4881, allocations: 16.03 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.4882, allocations: 110.5 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.4885, allocations: 98.81 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.4895, allocations: 0.6324 MB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.4896, allocations: 41.31 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.4897, allocations: 60 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.4909, allocations: 0.693 MB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4909, allocations: 0 / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.491, allocations: 32 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.491, allocations: 23.89 kB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.4923, allocations: 0.9103 MB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.496, allocations: 2.344 MB / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.4971, allocations: 0.5918 MB / 1.047 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.4974, allocations: 223.3 kB / 1.047 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.4975, allocations: 28.56 kB / 1.048 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007195/0.4982, allocations: 342.4 kB / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/0.4982, allocations: 0 / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.00142/0.4997, allocations: 0.698 MB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.4999, allocations: 243.9 kB / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.5008, allocations: 0.5704 MB / 1.049 GB, free: 6.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.5009, allocations: 37.7 kB / 1.049 GB, free: 6.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.5012, allocations: 336.5 kB / 1.05 GB, free: 6.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.5014, allocations: 201.1 kB / 1.05 GB, free: 6.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.5015, allocations: 12.12 kB / 1.05 GB, free: 6.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5017, allocations: 378.8 kB / 1.05 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.502, allocations: 165 kB / 1.05 GB, free: 5.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.5024, allocations: 284.4 kB / 1.051 GB, free: 5.398 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.5028, allocations: 214.1 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5028, allocations: 4 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008725/0.5037, allocations: 0.5489 MB / 1.051 GB, free: 4.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5037, allocations: 8.156 kB / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5037, allocations: 0 / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5038, allocations: 4 kB / 1.051 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.5042, allocations: 119.8 kB / 1.052 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5043, allocations: 7.984 kB / 1.052 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.5047, allocations: 77.38 kB / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.5048, allocations: 23.98 kB / 1.052 GB, free: 4.391 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.0003502/0.5051, allocations: 237.7 kB / 1.052 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5053, allocations: 75.11 kB / 1.052 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.5067, allocations: 0.7542 MB / 1.053 GB, free: 3.309 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5067, allocations: 8 kB / 1.053 GB, free: 3.301 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5067, allocations: 0 / 1.053 GB, free: 3.301 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.5067, allocations: 3.984 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5079, allocations: 0.8857 MB / 1.054 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5079, allocations: 7.984 kB / 1.054 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.5083, allocations: 111.9 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.5083, allocations: 8.031 kB / 1.054 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.5084, allocations: 23.92 kB / 1.054 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.5084, allocations: 7.938 kB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5084, allocations: 0 / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.5094, allocations: 0.6262 MB / 1.054 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.5097, allocations: 259.8 kB / 1.055 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5099, allocations: 15.98 kB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.5103, allocations: 59.95 kB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.5104, allocations: 44.59 kB / 1.055 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.5105, allocations: 27.98 kB / 1.055 GB, free: 1.129 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005387/0.511, allocations: 423 kB / 1.055 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5111, allocations: 4 kB / 1.055 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006666/0.5117, allocations: 223.5 kB / 1.055 GB, free: 0.5 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.592/1.104, allocations: 1.615 MB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001267/1.105, allocations: 470 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.105, allocations: 0 / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/1.106, allocations: 281.7 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.001406/1.107, allocations: 232.4 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/1.114, allocations: 3.895 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/1.115, allocations: 0.9506 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008443/1.116, allocations: 239.7 kB / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.116, allocations: 294.1 kB / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.116, allocations: 1.641 kB / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04644/1.163, allocations: 16.57 MB / 1.079 GB, free: 147.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.163, allocations: 264 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.835, allocations: 0 / 1.08 GB, free: 147.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)