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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001129, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.644/1.644, allocations: 252 MB / 0.5102 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005712, allocations: 12 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5615, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004609/0.5662, allocations: 3.475 MB / 0.7315 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1555/0.7217, allocations: 136.4 MB / 0.8647 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.7224, allocations: 19.88 kB / 0.8647 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.7228, allocations: 119 kB / 0.8648 GB, free: 15 MB / 0.6856 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.001225/0.7241, allocations: 337.5 kB / 0.8652 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.7255, allocations: 0.5229 MB / 0.8657 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.7266, allocations: 0.9103 MB / 0.8666 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005625/0.7271, allocations: 341.5 kB / 0.8669 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.7275, allocations: 242.9 kB / 0.8671 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.7279, allocations: 271.3 kB / 0.8674 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.728, allocations: 20 kB / 0.8674 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005758/0.7286, allocations: 203.7 kB / 0.8676 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.7288, allocations: 139.4 kB / 0.8677 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.7289, allocations: 157.3 kB / 0.8679 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009085/0.7299, allocations: 0.8651 MB / 0.8687 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7299, allocations: 4 kB / 0.8687 GB, free: 11 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7299, allocations: 0 / 0.8687 GB, free: 11 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7299, allocations: 0 / 0.8687 GB, free: 11 MB / 0.6856 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.001695/0.7316, allocations: 0.9863 MB / 0.8697 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.7317, allocations: 8.031 kB / 0.8697 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.732, allocations: 102.8 kB / 0.8698 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/0.7329, allocations: 0.6286 MB / 0.8704 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.733, allocations: 41.31 kB / 0.8704 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.7331, allocations: 60 kB / 0.8705 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.7341, allocations: 0.6969 MB / 0.8712 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.7342, allocations: 4 kB / 0.8712 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.7342, allocations: 24 kB / 0.8712 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.7342, allocations: 19.95 kB / 0.8712 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.7355, allocations: 0.9103 MB / 0.8721 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.7387, allocations: 2.337 MB / 0.8744 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/0.7396, allocations: 0.5892 MB / 0.875 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.7399, allocations: 231.2 kB / 0.8752 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/0.74, allocations: 32.58 kB / 0.8752 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006233/0.7407, allocations: 346.5 kB / 0.8756 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 2.595e-06/0.7407, allocations: 3.938 kB / 0.8756 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.001251/0.7419, allocations: 0.7019 MB / 0.8762 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.7421, allocations: 239.9 kB / 0.8765 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.7428, allocations: 0.5666 MB / 0.877 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.7429, allocations: 41.7 kB / 0.8771 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.7432, allocations: 328.5 kB / 0.8774 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.7434, allocations: 205 kB / 0.8776 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.7434, allocations: 20.12 kB / 0.8776 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7436, allocations: 370.8 kB / 0.8779 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.7439, allocations: 189.2 kB / 0.8781 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.7443, allocations: 285.9 kB / 0.8784 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.7447, allocations: 234.1 kB / 0.8786 GB, free: 492 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7447, allocations: 0 / 0.8786 GB, free: 492 kB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009348/0.7456, allocations: 0.5957 MB / 0.8792 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7457, allocations: 13.67 kB / 0.8792 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7457, allocations: 0 / 0.8792 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7457, allocations: 4 kB / 0.8792 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.7462, allocations: 136 kB / 0.8793 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7462, allocations: 7.938 kB / 0.8794 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.7467, allocations: 75.48 kB / 0.8794 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.7468, allocations: 27.98 kB / 0.8795 GB, free: 15.62 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000369/0.7471, allocations: 243.2 kB / 0.8797 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.7472, allocations: 71.16 kB / 0.8798 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.7486, allocations: 0.7579 MB / 0.8805 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.7487, allocations: 8 kB / 0.8805 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7487, allocations: 0 / 0.8805 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.7487, allocations: 3.984 kB / 0.8805 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.7497, allocations: 0.8817 MB / 0.8814 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.7498, allocations: 3.953 kB / 0.8814 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.7502, allocations: 115.9 kB / 0.8815 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7502, allocations: 0 / 0.8815 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.7502, allocations: 19.98 kB / 0.8815 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.7503, allocations: 8.031 kB / 0.8815 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7503, allocations: 3.938 kB / 0.8815 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/0.7512, allocations: 0.6302 MB / 0.8821 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.7515, allocations: 259.7 kB / 0.8824 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.7516, allocations: 16 kB / 0.8824 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.752, allocations: 61.33 kB / 0.8824 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.7521, allocations: 48.58 kB / 0.8825 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.7522, allocations: 31.98 kB / 0.8825 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005234/0.7527, allocations: 411.1 kB / 0.8829 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7527, allocations: 0 / 0.8829 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006685/0.7534, allocations: 227.5 kB / 0.8831 GB, free: 11.75 MB / 0.7012 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.001234/0.7546, allocations: 0.5444 MB / 0.8837 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009025/0.7555, allocations: 0.4969 MB / 0.8842 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7556, allocations: 0 / 0.8842 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.7559, allocations: 279.6 kB / 0.8844 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000987/0.7569, allocations: 222.5 kB / 0.8846 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.7595, allocations: 1.577 MB / 0.8862 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.7602, allocations: 0.9484 MB / 0.8871 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007945/0.761, allocations: 249.5 kB / 0.8873 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.7613, allocations: 91.33 kB / 0.8874 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of SimCode: time 3.126e-06/0.7613, allocations: 0 / 0.8874 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of Templates: time 0.0186/0.7799, allocations: 10.18 MB / 0.8974 GB, free: 13.44 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) Environment - environmentSimulation: