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.212/1.212, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009046/0.0009046, allocations: 168 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205 MB / 0.576 GB, free: 21 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.0006763/0.0006763, allocations: 94.89 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002662, allocations: 8.688 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.003189/0.1428, allocations: 3.726 MB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1166/0.2595, allocations: 147.9 MB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.2601, allocations: 19.88 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.2606, allocations: 127 kB / 1.044 GB, free: 11.78 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.001078/0.2617, allocations: 339.2 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2629, allocations: 0.6007 MB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008953/0.2638, allocations: 0.9887 MB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.2644, allocations: 489.7 kB / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.2647, allocations: 250.7 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.2651, allocations: 278.4 kB / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.2652, allocations: 20 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.2656, allocations: 223.7 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2657, allocations: 147.3 kB / 1.048 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.266, allocations: 341.7 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009066/0.2669, allocations: 1.094 MB / 1.049 GB, free: 7.043 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2669, allocations: 3.984 kB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2669, allocations: 4 kB / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.2669, allocations: 0 / 1.049 GB, free: 7.035 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.001376/0.2683, allocations: 0.9747 MB / 1.05 GB, free: 6.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2684, allocations: 8.031 kB / 1.05 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2685, allocations: 110.7 kB / 1.05 GB, free: 5.883 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.2687, allocations: 95.81 kB / 1.05 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.2694, allocations: 0.6596 MB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.2695, allocations: 49.3 kB / 1.051 GB, free: 5.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.2696, allocations: 56 kB / 1.051 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.2704, allocations: 0.6993 MB / 1.052 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2705, allocations: 4 kB / 1.052 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.2705, allocations: 28 kB / 1.052 GB, free: 4.203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2705, allocations: 16 kB / 1.052 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.2716, allocations: 0.9103 MB / 1.052 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.2742, allocations: 2.348 MB / 1.055 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/0.275, allocations: 0.6008 MB / 1.055 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2753, allocations: 219.3 kB / 1.056 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2763/0.5517, allocations: 24.52 kB / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006713/0.5524, allocations: 343.3 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.895e-06/0.5524, allocations: 0 / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001166/0.5535, allocations: 0.7091 MB / 1.057 GB, free: 160.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.5536, allocations: 247.3 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.5542, allocations: 0.5711 MB / 1.057 GB, free: 160.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.5543, allocations: 43.09 kB / 1.057 GB, free: 160.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.5545, allocations: 325.8 kB / 1.058 GB, free: 160 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.5546, allocations: 202.2 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.5546, allocations: 50.09 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.5547, allocations: 384.9 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.5549, allocations: 163.5 kB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.5552, allocations: 291.2 kB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.5558, allocations: 446.6 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5558, allocations: 2.531 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007213/0.5565, allocations: 0.5571 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5565, allocations: 5.562 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5566, allocations: 2.75 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5566, allocations: 3.656 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.557, allocations: 122.2 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.557, allocations: 4.969 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.5574, allocations: 68.23 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.5574, allocations: 23.67 kB / 1.06 GB, free: 159.2 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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.0002295/0.5577, allocations: 241.8 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.5578, allocations: 73.66 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5589, allocations: 0.7539 MB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5589, allocations: 10.5 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5589, allocations: 2.906 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.5589, allocations: 3.938 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/0.5597, allocations: 0.8882 MB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5598, allocations: 2.938 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.5601, allocations: 118.5 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5601, allocations: 6.156 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.5602, allocations: 23.62 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5602, allocations: 2.969 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5602, allocations: 2.719 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.561, allocations: 0.6387 MB / 1.063 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.5612, allocations: 237.7 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5613, allocations: 16.41 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.5617, allocations: 59.34 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.5618, allocations: 48.81 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.5619, allocations: 29.42 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000463/0.5624, allocations: 428.9 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.5624, allocations: 0 / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005592/0.5629, allocations: 219.5 kB / 1.064 GB, free: 158.3 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.001995/0.5649, allocations: 1.641 MB / 1.065 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007278/0.5657, allocations: 478.5 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5657, allocations: 4.875 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.5661, allocations: 276.5 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.567, allocations: 236.8 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/0.5743, allocations: 5.375 MB / 1.071 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.5747, allocations: 0.9532 MB / 1.072 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006421/0.5754, allocations: 239 kB / 1.073 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5757, allocations: 296.8 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.5757, allocations: 1.094 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3502/0.9259, allocations: 15.49 MB / 1.088 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.9261, allocations: 298.3 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.37, allocations: 4 kB / 1.088 GB, free: 145.3 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)