Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001601/0.001601, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222 MB, free: 4.777 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.522/1.522, allocations: 251.6 MB / 0.5088 GB, free: 3.266 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.001544/0.001544, allocations: 63.91 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6184, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006876/0.6253, allocations: 4.052 MB / 0.7278 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.8007, allocations: 147.9 MB / 0.8721 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007884/0.8016, allocations: 11.94 kB / 0.8722 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.8021, allocations: 131 kB / 0.8723 GB, free: 4.516 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.001333/0.8035, allocations: 341.4 kB / 0.8726 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.8052, allocations: 0.5923 MB / 0.8732 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.8063, allocations: 0.9964 MB / 0.8742 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.807, allocations: 0.4903 MB / 0.8746 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.8074, allocations: 290.7 kB / 0.8749 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.8078, allocations: 338.3 kB / 0.8752 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.808, allocations: 36 kB / 0.8753 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.8086, allocations: 243.8 kB / 0.8755 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.8088, allocations: 183.3 kB / 0.8757 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.8091, allocations: 377.7 kB / 0.876 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.8101, allocations: 1.125 MB / 0.8771 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8102, allocations: 4 kB / 0.8771 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8102, allocations: 0 / 0.8771 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.8102, allocations: 0 / 0.8771 GB, free: 15.52 MB / 0.7012 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.001779/0.812, allocations: 1.146 MB / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.812, allocations: 16.03 kB / 0.8783 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.8123, allocations: 95.81 kB / 0.8784 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.8132, allocations: 0.6596 MB / 0.879 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.8133, allocations: 49.31 kB / 0.8791 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.8133, allocations: 56 kB / 0.8791 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.8144, allocations: 0.6892 MB / 0.8798 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.8144, allocations: 7.938 kB / 0.8798 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.8145, allocations: 24 kB / 0.8798 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.8145, allocations: 16 kB / 0.8798 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.8157, allocations: 0.9259 MB / 0.8807 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.8189, allocations: 2.31 MB / 0.883 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.8202, allocations: 0.6008 MB / 0.8836 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.8206, allocations: 219.3 kB / 0.8838 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.021e-05/0.8207, allocations: 32.58 kB / 0.8838 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006961/0.8214, allocations: 350.4 kB / 0.8842 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/0.8214, allocations: 0 / 0.8842 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.001729/0.8231, allocations: 0.7058 MB / 0.8848 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.8233, allocations: 235.9 kB / 0.8851 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.8241, allocations: 0.586 MB / 0.8856 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.8242, allocations: 37.7 kB / 0.8857 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.8245, allocations: 328.7 kB / 0.886 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.8247, allocations: 201 kB / 0.8862 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.825, allocations: 142.2 kB / 0.8863 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.8252, allocations: 374.8 kB / 0.8867 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.8255, allocations: 193.1 kB / 0.8869 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.826, allocations: 293.8 kB / 0.8871 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.8267, allocations: 476.1 kB / 0.8876 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8268, allocations: 0 / 0.8876 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00103/0.8278, allocations: 0.6036 MB / 0.8882 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.8278, allocations: 8 kB / 0.8882 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8278, allocations: 0 / 0.8882 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.8279, allocations: 4 kB / 0.8882 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.8284, allocations: 131.8 kB / 0.8883 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.8284, allocations: 4 kB / 0.8883 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.8289, allocations: 71.39 kB / 0.8884 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.829, allocations: 28.25 kB / 0.8884 GB, free: 3.555 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (76): * Single equations (assignments): 76 * 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.0003869/0.8294, allocations: 253.5 kB / 0.8887 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.8295, allocations: 67.16 kB / 0.8887 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.831, allocations: 0.7465 MB / 0.8895 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8311, allocations: 8 kB / 0.8895 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8311, allocations: 0 / 0.8895 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.8311, allocations: 7.984 kB / 0.8895 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.8323, allocations: 0.8856 MB / 0.8903 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8323, allocations: 0 / 0.8903 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.8327, allocations: 119.8 kB / 0.8904 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.8327, allocations: 12.02 kB / 0.8905 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.8328, allocations: 16 kB / 0.8905 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8328, allocations: 3.984 kB / 0.8905 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8328, allocations: 4 kB / 0.8905 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.834, allocations: 0.6301 MB / 0.8911 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.8343, allocations: 243.9 kB / 0.8913 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.8344, allocations: 16 kB / 0.8913 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.8348, allocations: 46.36 kB / 0.8914 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.835, allocations: 52.53 kB / 0.8914 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.8351, allocations: 23.98 kB / 0.8915 GB, free: 328 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005085/0.8356, allocations: 419.1 kB / 0.8919 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8356, allocations: 0 / 0.8919 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00067/0.8363, allocations: 227.5 kB / 0.8921 GB, free: 15.69 MB / 0.7169 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.001439/0.8377, allocations: 0.563 MB / 0.8926 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009439/0.8387, allocations: 0.4971 MB / 0.8931 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8387, allocations: 0 / 0.8931 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.8391, allocations: 279.6 kB / 0.8934 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.8401, allocations: 228.5 kB / 0.8936 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.8424, allocations: 1.613 MB / 0.8952 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.843, allocations: 0.954 MB / 0.8961 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007227/0.8437, allocations: 249.5 kB / 0.8963 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.8439, allocations: 87.39 kB / 0.8964 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.844, allocations: 0 / 0.8964 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of Templates: time 0.018/0.862, allocations: 10.56 MB / 0.9067 GB, free: 0.9453 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)