Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.4 MB / 303.3 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.00138, allocations: 185.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007224/0.0007226, allocations: 90.36 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005797/0.0005797, allocations: 15.08 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2518, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.00379/0.2557, allocations: 3.456 MB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7388/0.9945, allocations: 136.4 MB / 1.116 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.9955, allocations: 15.28 kB / 1.116 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.9961, allocations: 125.3 kB / 1.116 GB, free: 1.855 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001613/0.9977, allocations: 336.3 kB / 1.117 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.9999, allocations: 0.5269 MB / 1.117 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001486/1.001, allocations: 0.9039 MB / 1.118 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/1.002, allocations: 344.2 kB / 1.118 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/1.003, allocations: 241.1 kB / 1.119 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/1.003, allocations: 268.1 kB / 1.119 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/1.003, allocations: 19.38 kB / 1.119 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/1.004, allocations: 199.2 kB / 1.119 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.005, allocations: 144.9 kB / 1.119 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/1.005, allocations: 161.9 kB / 1.119 GB, free: 17.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/1.006, allocations: 0.859 MB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.006, allocations: 5.031 kB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.006, allocations: 0 / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.751e-05/1.006, allocations: 0 / 1.12 GB, free: 17.22 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.002267/1.009, allocations: 0.9987 MB / 1.121 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/1.009, allocations: 12.25 kB / 1.121 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/1.009, allocations: 108.6 kB / 1.121 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/1.009, allocations: 95.62 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.01, allocations: 0.6335 MB / 1.122 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/1.01, allocations: 53.19 kB / 1.122 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/1.01, allocations: 56.03 kB / 1.122 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.012, allocations: 0.6904 MB / 1.123 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.012, allocations: 0 / 1.123 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/1.012, allocations: 32.95 kB / 1.123 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/1.012, allocations: 16.19 kB / 1.123 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.013, allocations: 0.9123 MB / 1.124 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/1.017, allocations: 2.332 MB / 1.126 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/1.018, allocations: 0.591 MB / 1.127 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/1.019, allocations: 223 kB / 1.127 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.257e-05/1.019, allocations: 28.58 kB / 1.127 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007174/1.019, allocations: 350.9 kB / 1.127 GB, free: 14.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.506e-06/1.019, allocations: 0 / 1.127 GB, free: 14.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001468/1.021, allocations: 0.6984 MB / 1.128 GB, free: 14.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/1.021, allocations: 243.8 kB / 1.128 GB, free: 14.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/1.022, allocations: 0.5719 MB / 1.129 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/1.022, allocations: 39.45 kB / 1.129 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/1.022, allocations: 325.6 kB / 1.129 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.022, allocations: 201.7 kB / 1.129 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/1.022, allocations: 14.53 kB / 1.129 GB, free: 13.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.023, allocations: 375.8 kB / 1.13 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/1.023, allocations: 166.1 kB / 1.13 GB, free: 13.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/1.023, allocations: 283.4 kB / 1.13 GB, free: 13.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/1.024, allocations: 215 kB / 1.13 GB, free: 13.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.024, allocations: 0 / 1.13 GB, free: 13.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008871/1.025, allocations: 0.5519 MB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.025, allocations: 7.188 kB / 1.131 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.025, allocations: 7.359 kB / 1.131 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.025, allocations: 7.391 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/1.025, allocations: 117 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.025, allocations: 8.375 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/1.026, allocations: 76.88 kB / 1.131 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/1.026, allocations: 31.25 kB / 1.131 GB, free: 13.36 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.0004276/1.026, allocations: 238.2 kB / 1.131 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/1.026, allocations: 75.34 kB / 1.131 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.028, allocations: 0.76 MB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.028, allocations: 5.281 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.028, allocations: 0 / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.028, allocations: 7.844 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.029, allocations: 0.8829 MB / 1.133 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.029, allocations: 1.031 kB / 1.133 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/1.029, allocations: 120.3 kB / 1.133 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.029, allocations: 3.344 kB / 1.133 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/1.029, allocations: 22.31 kB / 1.133 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.029, allocations: 2.812 kB / 1.133 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/1.029, allocations: 0 / 1.133 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/1.03, allocations: 0.628 MB / 1.134 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/1.031, allocations: 258.6 kB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/1.031, allocations: 24.47 kB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/1.031, allocations: 56.06 kB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.031, allocations: 45.48 kB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/1.031, allocations: 29.62 kB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005828/1.032, allocations: 418.9 kB / 1.134 GB, free: 12.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 1.134 GB, free: 12.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000799/1.033, allocations: 218.9 kB / 1.135 GB, free: 12.33 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.002445/1.035, allocations: 1.632 MB / 1.136 GB, free: 11.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.036, allocations: 471.1 kB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.036, allocations: 3.359 kB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/1.037, allocations: 284.6 kB / 1.137 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.038, allocations: 224.2 kB / 1.137 GB, free: 11.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/1.046, allocations: 3.897 MB / 1.141 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.047, allocations: 0.9507 MB / 1.142 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001051/1.048, allocations: 243 kB / 1.142 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/1.049, allocations: 295.7 kB / 1.142 GB, free: 8.691 MB / 0.698 GB Notification: Performance of SimCode: time 3.326e-06/1.049, allocations: 1.125 kB / 1.142 GB, free: 8.691 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04432/1.093, allocations: 16.58 MB / 1.159 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.093, allocations: 258.5 kB / 1.159 GB, free: 388 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.955, allocations: 0 / 1.159 GB, free: 388 kB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)