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/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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.475/1.475, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.507/1.507, allocations: 251.6 MB / 0.5089 GB, free: 3.359 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.002009/0.002009, allocations: 63.91 kB / 0.6217 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.56, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006197/0.5662, allocations: 4.044 MB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.7441, allocations: 148 MB / 0.8724 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.745, allocations: 15.94 kB / 0.8724 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.7457, allocations: 123.1 kB / 0.8726 GB, free: 4.398 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.001521/0.7472, allocations: 363.8 kB / 0.8729 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.7489, allocations: 0.6115 MB / 0.8735 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.7501, allocations: 1.067 MB / 0.8745 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.7508, allocations: 0.4942 MB / 0.875 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.7512, allocations: 346.7 kB / 0.8754 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.7517, allocations: 370.2 kB / 0.8757 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7518, allocations: 84 kB / 0.8758 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.7524, allocations: 279.8 kB / 0.8761 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.7526, allocations: 231.3 kB / 0.8763 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.753, allocations: 429.6 kB / 0.8767 GB, free: 160 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.7543, allocations: 1.164 MB / 0.8778 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7543, allocations: 0 / 0.8778 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7543, allocations: 0 / 0.8778 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.7543, allocations: 4 kB / 0.8778 GB, free: 14.98 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.001798/0.7561, allocations: 1.146 MB / 0.8789 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7562, allocations: 8.031 kB / 0.879 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.7565, allocations: 99.8 kB / 0.879 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.7574, allocations: 0.6635 MB / 0.8797 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.7575, allocations: 45.31 kB / 0.8797 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.7575, allocations: 56 kB / 0.8798 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.7586, allocations: 0.6931 MB / 0.8805 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7586, allocations: 3.938 kB / 0.8805 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.7587, allocations: 32 kB / 0.8805 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.7587, allocations: 16 kB / 0.8805 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7599, allocations: 0.9181 MB / 0.8814 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.763, allocations: 2.31 MB / 0.8837 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.7639, allocations: 0.6047 MB / 0.8843 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.7642, allocations: 219.3 kB / 0.8845 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.7643, allocations: 28.61 kB / 0.8845 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.7648, allocations: 346.4 kB / 0.8848 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.094e-06/0.7648, allocations: 0 / 0.8848 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.001304/0.7661, allocations: 0.7097 MB / 0.8855 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.7663, allocations: 239.9 kB / 0.8858 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.767, allocations: 0.586 MB / 0.8863 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.7671, allocations: 41.83 kB / 0.8864 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.7674, allocations: 320.6 kB / 0.8867 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.7676, allocations: 205 kB / 0.8869 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.7678, allocations: 142.2 kB / 0.887 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.768, allocations: 370.8 kB / 0.8874 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.7683, allocations: 189.2 kB / 0.8875 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.7687, allocations: 293.9 kB / 0.8878 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.7694, allocations: 484.1 kB / 0.8883 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7694, allocations: 0 / 0.8883 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009322/0.7703, allocations: 0.5997 MB / 0.8889 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.7704, allocations: 4 kB / 0.8889 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7704, allocations: 4 kB / 0.8889 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7704, allocations: 7.938 kB / 0.8889 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.7709, allocations: 127.9 kB / 0.889 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7709, allocations: 7.938 kB / 0.889 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.7714, allocations: 77.44 kB / 0.8891 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.7714, allocations: 31.97 kB / 0.8891 GB, free: 3.008 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.0003205/0.7718, allocations: 245.6 kB / 0.8893 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7719, allocations: 67.16 kB / 0.8894 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.7732, allocations: 0.7503 MB / 0.8901 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7732, allocations: 8 kB / 0.8901 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7733, allocations: 0 / 0.8901 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.7733, allocations: 3.984 kB / 0.8902 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.7743, allocations: 0.8856 MB / 0.891 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7743, allocations: 4.031 kB / 0.891 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.7747, allocations: 119.8 kB / 0.8911 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.7747, allocations: 4 kB / 0.8911 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.7748, allocations: 19.98 kB / 0.8912 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7748, allocations: 4 kB / 0.8912 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7748, allocations: 0 / 0.8912 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.7757, allocations: 0.6378 MB / 0.8918 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.776, allocations: 236 kB / 0.892 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.7761, allocations: 16 kB / 0.892 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.7765, allocations: 43.95 kB / 0.8921 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7766, allocations: 60.45 kB / 0.8921 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.7766, allocations: 20 kB / 0.8921 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004748/0.7771, allocations: 423 kB / 0.8925 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7771, allocations: 0 / 0.8925 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006236/0.7778, allocations: 223.5 kB / 0.8928 GB, free: 15.15 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.001249/0.779, allocations: 0.5482 MB / 0.8933 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.7803, allocations: 0.6686 MB / 0.8939 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7803, allocations: 3.938 kB / 0.894 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.7807, allocations: 279.6 kB / 0.8942 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7817, allocations: 265 kB / 0.8945 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.7838, allocations: 1.604 MB / 0.896 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.7843, allocations: 0.9498 MB / 0.897 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006708/0.785, allocations: 233.6 kB / 0.8972 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.7851, allocations: 91.33 kB / 0.8973 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.7852, allocations: 4 kB / 0.8973 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.3852/1.17, allocations: 10.88 MB / 0.9079 GB, free: 182.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)